   #home GTK Classes GtkRadioButton Constructor GtkRadioMenuItem
   Constructor

           GTK Classes
   Prev  GtkRadioMenuItem  Next
     _________________________________________________________________

GtkRadioMenuItem

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

Object Hierarchy

   GtkObject
   `-- GtkWidget
         `-- GtkContainer
               `-- GtkBin
                     `-- GtkItem
                           `-- GtkMenuItem
                                 `-- GtkCheckMenuItem
                                       `-- GtkRadioMenuItem

Description

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

     When the GtkMenuItem version of the "activate" signal has been
     emitted by a GtkRadioMenuItem, there is a second emission as the
     most recently active item is toggled to inactive. This is dealt
     with before the original signal is handled.

     One way around this would be to use the "button-press-event"
     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 "activate" to be emitted twice.

Constructor

   GtkRadioMenuItem ( GtkRadioMenuItem group , string label);

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

   Prev                        Home                          Next
   GtkRadioButton Constructor   Up   GtkRadioMenuItem Constructor
