Re: stopping signals
- From: Russell Shaw <rjshaw iprimus com au>
 
- Cc: gtk-list gnome org
 
- Subject: Re: stopping signals
 
- Date: Mon, 17 Nov 2003 12:11:49 +1100
 
dave walters wrote:
Greetings:
 
I have a spin button with a callback function invoked by the 
"value_changed" signal.
The callback func has a gtk_spin_button_set_value(). When this executes 
it causes
the spinner to emit the "value_changed' signal which invokes the 
callback which executes set_value() etc. It's recursive. I tried using 
g_signal_stop_emission_by_name()
put in before the set_value() but it didn't work. Any ideas??
Why? If the next spin value is wrong, then you should have set
the right values when the button was created.
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]