Pike v8.1 release 6

Class GTK2.CheckMenuItem

Inheritance graph
Description

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

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

Properties: int active int draw-as-radio int inconsistent

Style properties: int indicator-size

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


Inherit MenuItem

inherit GTK2.MenuItem : MenuItem


Method create

GTK2.CheckMenuItem GTK2.CheckMenuItem(string|mapping label_or_props)

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)