Class: Gtk::ToggleAction
- Inherits:
-
Object
- Object
- Gtk::ToggleAction
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#active ⇒ TrueClass
Returns the checked state of the toggle action.
-
#active=(active) ⇒ TrueClass
Whether the toggle action should be active.
-
#active? ⇒ TrueClass
Whether the toggle action should be active.
-
#draw_as_radio ⇒ TrueClass
Returns whether the action should have proxies like a radio action.
-
#draw_as_radio=(draw_as_radio) ⇒ TrueClass
Whether the proxies for this action look like radio action proxies.
-
#draw_as_radio? ⇒ TrueClass
Whether the proxies for this action look like radio action proxies.
-
#new(name, label, tooltip, stock_id) ⇒ Gtk::ToggleAction
Creates a new Gtk::ToggleAction object.
-
#toggled ⇒ nil
Emits the “toggled” signal on the toggle action.
Instance Method Details
#active ⇒ TrueClass
Returns the checked state of the toggle action.
#active=(active) ⇒ TrueClass
Whether the toggle action should be active.
#active? ⇒ TrueClass
Whether the toggle action should be active.
#draw_as_radio ⇒ TrueClass
Returns whether the action should have proxies like a radio action.
#draw_as_radio=(draw_as_radio) ⇒ TrueClass
Whether the proxies for this action look like radio action proxies.
This is an appearance property and thus only applies if Gtk::Activatable:use-action-appearance is true.
#draw_as_radio? ⇒ TrueClass
Whether the proxies for this action look like radio action proxies.
This is an appearance property and thus only applies if Gtk::Activatable:use-action-appearance is true.
#new(name, label, tooltip, stock_id) ⇒ Gtk::ToggleAction
Creates a new Gtk::ToggleAction object. To add the action to a Gtk::ActionGroup and set the accelerator for the action, call gtk_action_group_add_action_with_accel().
#toggled ⇒ nil
Emits the “toggled” signal on the toggle action.