Button that retains its state.
A GtkToggleButton is a
GtkButton which will remain 'pressed-in' when
clicked. Clicking again will cause the toggle button to return to its
The state of a GtkToggleButton can be set
specifically using set_active() ,
and retrieved using get_active() .
To simply switch the state of a toggle button, use
Creates a new toggle button.
If the toggle button should be pressed in or not.
If the toggle part of the button is displayed.
If the toggle button is in an "in between" state.
The button's active state has changed.