Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK2
GTK2.ToggleButton

Class GTK2.ToggleButton

Description

Toggle buttons are derived from normal buttons and are very similar, except they will always be in one of two states, alternated by a click. They may be depressed, and when you click again, they will pop back up. Click again, and they will pop back down.

 GTK2.ToggleButton("Toggle button")

 GTK2.ToggleButton("Toggle button")->set_active( 1 )

Properties: int active int draw-indicator int inconsistent

Signals: toggled


Inherit Button

inherit GTK2.Button : Button