   #home GTK Classes GtkProgressBar::update GtkRadioButton Constructor

          GTK Classes
   Prev  GtkRadioButton  Next
     _________________________________________________________________

GtkRadioButton

     Button that is part of a group, only one of which may be selected.

Object Hierarchy

   GtkObject
   `-- GtkWidget
         `-- GtkContainer
               `-- GtkBin
                     `-- GtkButton
                           `-- GtkToggleButton
                                 `-- GtkCheckButton
                                       `-- GtkRadioButton

Description

     A GtkRadioButton is one of a group of similar widgets, only one of
     which may be selected at any one time.

     In the version of GTK+ currently used by PHP-GTK there is an issue
     with the "activate" signal where it is used alongside toggle
     switches in arrays. In this particular widget, the "clicked" signal
     is the activating signal, and as a result of this feature repeats
     itself when another group member is activated.

     One way around this is to use the "pressed" signal. Another would
     be to set up a count for each individual function and test that the
     count is not divisible by 2. Or, depending on the kind of function
     you are calling, you could simply allow "clicked" to be fired
     twice.

Constructor

   GtkRadioButton ( GtkRadioButton group , string label);

     -- Creates one of a group of GtkRadioButton widgets.
     _________________________________________________________________

   Prev                    Home                        Next
   GtkProgressBar::update   Up   GtkRadioButton Constructor
