pike.hubbe.net

[Top]
GTK
GTK.ToggleButton
previousGTK.TipsQuery()->stop_query() GTK.ToggleButton()->create()next

Class GTK.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.

GTK.ToggleButton("Toggle button")

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

Signals: toggled

Inherits

  • GTK.Button

Extracted from Pike v7.3 release 11 at 2001-11-03.