>From: Robert Caryl <[EMAIL PROTECTED]>
>To: Josepo Urrutia <[EMAIL PROTECTED]>
>CC: [email protected], [EMAIL PROTECTED], [EMAIL PROTECTED]
>Subject: Re: Control user change of SpinButton value
>Date: Mon, 17 Jul 2006 06:30:51 -0500
>
>If that is all you need, then you can create a status variable in your
>derived window class that defaults to false (meaning the user is changing
>the spin button object's value). Then when your code would change the spin
>button object's value, set the status variable to true before making the
>change. Then, in the callback slot, if the status variable is false you
>call your extra function (for when the user has changed the value) else if
>the status variable is true (meaning your code has changed the value) you
>reset the status variable's value back to false without running your extra
>function.
>
>Bob Caryl
>
Thanks for the hint, it works perfectly.
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list