GtkCheckMenuItem
A check box menu item.
Object Hierarchy
GObject
`-- GtkObject
`-- GtkWidget
`-- GtkContainer
`-- GtkBin
`-- GtkItem
`-- GtkMenuItem
`-- GtkCheckMenuItem
Direct Subclasses
Description
Constructors
GtkCheckMenuItem (string label, boolean use_underline);-- Creates a new check menu item.GtkCheckMenuItem::new_with_label (string label);--GtkCheckMenuItem::new_with_mnemonic (string label);--
Methods
get_active() Returns whether the check menu item is active. get_draw_as_radio() Returns TRUE if the check menu item is drawn as a radio menu item. get_inconsistent() set_active() Changes the state of the menu item's check box, setting the state property according to the value of is_active parameter. set_draw_as_radio() It sets the check menu item to be displayed as a radio menu item if the value of draw_as_radio is TRUE. set_inconsistent() set_show_toggle() toggled() The toggled() method emits the "toggled". signal on the check menu item.
Fields
active: Represents the current state of the menu item. draw-as-radio: TRUE if the check menu item is shown as a radio menu item.
Signals
"toggled" The "toggled" signal is emitted when the check menu item changes state.