| Top |
A GtkToggleToolButton is a GtkToolItem that contains a toggle button.
Use gtk_toggle_tool_button_new() to create a new GtkToggleToolButton.
GtkToolItem *
gtk_toggle_tool_button_new (void);
Returns a new GtkToggleToolButton
Since: 2.4
void gtk_toggle_tool_button_set_active (GtkToggleToolButton *button,gboolean is_active);
Sets the status of the toggle tool button. Set to TRUE if you
want the GtkToggleButton to be “pressed in”, and FALSE to raise it.
This action causes the toggled signal to be emitted.
Since: 2.4
gboolean
gtk_toggle_tool_button_get_active (GtkToggleToolButton *button);
Queries a GtkToggleToolButton and returns its current state.
Returns TRUE if the toggle button is pressed in and FALSE if it is raised.
Since: 2.4