Pike v8.0 release 1738

Class GTK1.CheckMenuItem

Inheritance graph
Description

A check menu item is more or less identical to a check button, but it should be used in menus.  GTK1.CheckMenuItem("Hi there")

 GTK1.CheckMenuItem("Hi there")->set_active(1)

Signals: toggled Called when the state of the menu item is changed


Inherit MenuItem

inherit GTK1.MenuItem : MenuItem


Method create

GTK1.CheckMenuItem GTK1.CheckMenuItem(string|void label)

Description

The argument, if specified, is the label of the item. If no label is specified, use object->add() to add some other widget (such as an pixmap or image widget)