Re: gtk_toggle_button_set_active()
- From: Tristan Van Berkom <tristan van berkom gmail com>
- To: riboaz xs4all nl
- Cc: gtk-list gnome org
- Subject: Re: gtk_toggle_button_set_active()
- Date: Sun, 24 Jul 2005 13:28:48 -0400
riboaz xs4all nl wrote:
Yesterday I wrote about how I was suspecting problems related to hiding
and unhiding widgets and trying to use gtk_toggle_button_set_active().
Today, I have a deeper understanding.
What exactly is the problem ?
If you call gtk_toggle_button_set_active(button ,TRUE) twice then only
the first call should work, if OTOH you call once with TRUE and another
time with FALSE then it should respond both times.
Is there a problem with only one button or is the radio group not responding
properly ? (i.e. becomming deactivated when another one becomes active)
Also, a typical problem when dealing with toggle buttons is feedback, always
be sure to be carefull when calling gtk_toggle_button_set_active() from a
"clicked" callback on a radio button.
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]