Class: Gtk::Switch
- Inherits:
-
Object
- Object
- Gtk::Switch
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#active ⇒ TrueClass
Gets whether the Gtk::Switch is in its “on” or “off” state.
-
#active=(active) ⇒ TrueClass
Whether the Gtk::Switch widget is in its on or off state.
-
#active? ⇒ TrueClass
Whether the Gtk::Switch widget is in its on or off state.
-
#new ⇒ Gtk::Widget
Creates a new Gtk::Switch widget.
-
#state ⇒ TrueClass
Gets the underlying state of the Gtk::Switch.
-
#state=(state) ⇒ TrueClass
The backend state that is controlled by the switch.
-
#state? ⇒ TrueClass
The backend state that is controlled by the switch.
Instance Method Details
#active ⇒ TrueClass
Gets whether the Gtk::Switch is in its “on” or “off” state.
#active=(active) ⇒ TrueClass
Whether the Gtk::Switch widget is in its on or off state.
#active? ⇒ TrueClass
Whether the Gtk::Switch widget is in its on or off state.
#new ⇒ Gtk::Widget
Creates a new Gtk::Switch widget.
#state ⇒ TrueClass
Gets the underlying state of the Gtk::Switch.
#state=(state) ⇒ TrueClass
The backend state that is controlled by the switch. See Gtk::Switch::state-set for details.
#state? ⇒ TrueClass
The backend state that is controlled by the switch. See Gtk::Switch::state-set for details.