Button.togglebutton
A toggle button. State is represented by the active property. Activating the widget toggles the state.
active
inherit button
method active : bool
method set_active : bool -> unit