Class: Gtk::CellRendererToggle
- Inherits:
-
Object
- Object
- Gtk::CellRendererToggle
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#activatable ⇒ TrueClass
Returns whether the cell renderer is activatable.
- #activatable=(activatable) ⇒ TrueClass
-
#activatable? ⇒ TrueClass
Activatable.
-
#active ⇒ TrueClass
Returns whether the cell renderer is active.
- #active=(active) ⇒ TrueClass
-
#active? ⇒ TrueClass
Active.
- #inconsistent=(inconsistent) ⇒ TrueClass
-
#inconsistent? ⇒ TrueClass
Inconsistent.
-
#indicator_size ⇒ Integer
Indicator-size.
- #indicator_size=(indicator_size) ⇒ Integer
-
#new ⇒ Gtk::CellRenderer
Creates a new Gtk::CellRendererToggle.
-
#radio ⇒ TrueClass
Returns whether we’re rendering radio toggles rather than checkboxes.
- #radio=(radio) ⇒ TrueClass
-
#radio? ⇒ TrueClass
Radio.
Instance Method Details
#activatable ⇒ TrueClass
Returns whether the cell renderer is activatable. See gtk_cell_renderer_toggle_set_activatable().
#activatable=(activatable) ⇒ TrueClass
#activatable? ⇒ TrueClass
Returns activatable.
#active ⇒ TrueClass
Returns whether the cell renderer is active. See gtk_cell_renderer_toggle_set_active().
#active=(active) ⇒ TrueClass
#active? ⇒ TrueClass
Returns active.
#inconsistent=(inconsistent) ⇒ TrueClass
#inconsistent? ⇒ TrueClass
Returns inconsistent.
#indicator_size ⇒ Integer
Returns indicator-size.
#indicator_size=(indicator_size) ⇒ Integer
#new ⇒ Gtk::CellRenderer
Creates a new Gtk::CellRendererToggle. Adjust rendering parameters using object properties. Object properties can be set globally (with g_object_set()). Also, with Gtk::TreeViewColumn, you can bind a property to a value in a Gtk::TreeModel. For example, you can bind the “active” property on the cell renderer to a boolean value in the model, thus causing the check button to reflect the state of the model.
#radio ⇒ TrueClass
Returns whether we’re rendering radio toggles rather than checkboxes.
#radio=(radio) ⇒ TrueClass
#radio? ⇒ TrueClass
Returns radio.