Class
GtkToggleAction
Descendants
Constructors
gtk_toggle_action_new
Creates a new GtkToggleAction
object. To add the action to
a GtkActionGroup
and set the accelerator for the action,
call gtk_action_group_add_action_with_accel().
deprecated: 3.10 since: 2.4
Instance methods
gtk_toggle_action_get_active
Returns the checked state of the toggle action.
deprecated: 3.10 since: 2.4
gtk_toggle_action_get_draw_as_radio
Returns whether the action should have proxies like a radio action.
deprecated: 3.10 since: 2.4
gtk_toggle_action_set_active
Sets the checked state on the toggle action.
deprecated: 3.10 since: 2.4
gtk_toggle_action_set_draw_as_radio
Sets whether the action should have proxies like a radio action.
deprecated: 3.10 since: 2.4
gtk_toggle_action_toggled
Emits the “toggled” signal on the toggle action.
deprecated: 3.10 since: 2.4
Methods inherited from GtkBuildable (10)
Properties
Gtk.ToggleAction:draw-as-radio
Whether the proxies for this action look like radio action proxies.
deprecated: 3.10
Signals
Gtk.ToggleAction::toggled
Should be connected if you wish to perform an action
whenever the GtkToggleAction
state is changed.
deprecated: 3.10
Class structure
Virtual methods
Gtk.ToggleActionClass.toggled
Emits the “toggled” signal on the toggle action.
deprecated: 3.10 since: 2.4