Webhosting and cheap domain registration service
  

 Home

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

 

  

Network sites:

Cheap domain registrar's cheap domain registration service

$8.95 domain registration : Buy domain name or register domain name 

 
 
Quotes:
People are very open-minded about new things--as long as they're exactly like the old ones.  
 
 

Disclaimer: This documentation is provided only for the benefits of our webhosting customers.
For authoritative source of the documentation, please refer to http://gtk.php.net/docs.php