Re: How to stop signal in the folowing case?




<snip>

   + g_signal_handlers_block_matched(editable, G_SIGNAL_MATCH_FUNC, 
0,0, NULL, on_spinbutton_B_changed, NULL);
I used the macros, g_signal_handlers_block_by_func and 
g_signal_handlers_unblock_by_func but these should do the same task.
gtk_spin_button_set_value( spinbutton_B, MY_VALUE );

+ g_signal_handlers_unblock_matched(editable, G_SIGNAL_MATCH_FUNC, 0,0, NULL, on_spinbutton_B_changed, NULL);

<snip>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]