Menu item with a toggle indicator.
GtkObject
`-- GtkWidget
`-- GtkContainer
`-- GtkBin
`-- GtkItem
`-- GtkMenuItem
`-- GtkCheckMenuItem
A GtkCheckMenuItem is a normal GtkMenuItem that contains a toggle indicator positioned to the left of any GtkAccelLabel text. The indicator does not necessarily have to be displayed during the time that the menu item is set to its inactive state, but is always displayed when the state is set as active.
GtkCheckMenuItem ([string label ]);-- Creates a GtkMenuItem with a toggle indicator.
set_active() Toggles the active state. set_show_toggle() Determines whether toggle indicator should be displayed. toggled() Emits the "toggled" signal.
"toggled" Emitted when the toggled() method is called.
active: 'Active' toggle.