Superclass: button atk-implementor-iface activatable buildable
Subclasses: check-button
A toggle-button is a button which will remain 'pressed-in' when clicked. Clicking again will cause the toggle button to return to its normal state.
The state of a toggle-button is stored in toggle-button-active and toggle-button-inconsistent.
Slots:
boolean
. Accessor: toggle-button-active
.
If the toggle button should be pressed in or not.
Default value: False
boolean
. Accessor: toggle-button-draw-indicator
.
If the toggle part of the button is displayed.
Default value: False
boolean
. Accessor: toggle-button-inconsistent
.
If the toggle button is in an "in between" state.
Default value: False
Signals:
Should be connected if you wish to perform an action whenever the toggle-button's state is changed.