Pike v8.1 release 6

Class GTK2.CheckButton

Inheritance graph
Description

Check buttons inherent many properties and functions from the the toggle buttons, but look a little different. Rather than being buttons with text inside them, they are small squares with the text to the right of them. These are often used for toggling options on and off in applications.  GTK2.CheckButton( "title" )

Style properties: int indicator-size int indicator-spacing


Inherit ToggleButton

inherit GTK2.ToggleButton : ToggleButton


Method create

GTK2.CheckButton GTK2.CheckButton(string|mapping label_or_props, int|void mnemonic)

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)