Class: Gtk::TreeListRow
- Inherits:
-
Object
- Object
- Gtk::TreeListRow
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#children ⇒ Gio::ListModel
The model holding the row's children.
-
#children=(children) ⇒ Gio::ListModel
The model holding the row's children.
-
#depth ⇒ Integer
The depth in the tree of this row.
-
#depth=(depth) ⇒ Integer
The depth in the tree of this row.
-
#expandable=(expandable) ⇒ Boolean
If this row can ever be expanded.
-
#expandable? ⇒ Boolean
If this row can ever be expanded.
-
#expanded ⇒ Boolean
Gets if a row is currently expanded.
-
#expanded=(expanded) ⇒ Boolean
If this row is currently expanded.
-
#expanded? ⇒ Boolean
If this row is currently expanded.
-
#get_child_row(position) ⇒ Gtk::TreeListRow
If self is not expanded or position is greater than the number of children, nil is returned.
-
#is_expandable ⇒ Boolean
Checks if a row can be expanded.
-
#item ⇒ GObject::Object
The item held in this row.
-
#item=(item) ⇒ GObject::Object
The item held in this row.
-
#parent ⇒ Gtk::TreeListRow
Gets the row representing the parent for self.
-
#position ⇒ Integer
Returns the position in the
GtkTreeListModelthat self occupies at the moment.
Instance Method Details
#children ⇒ Gio::ListModel
The model holding the row's children.
#children=(children) ⇒ Gio::ListModel
The model holding the row's children.
#depth ⇒ Integer
The depth in the tree of this row.
#depth=(depth) ⇒ Integer
The depth in the tree of this row.
#expandable=(expandable) ⇒ Boolean
If this row can ever be expanded.
#expandable? ⇒ Boolean
If this row can ever be expanded.
#expanded ⇒ Boolean
Gets if a row is currently expanded.
#expanded=(expanded) ⇒ Boolean
If this row is currently expanded.
#expanded? ⇒ Boolean
If this row is currently expanded.
#get_child_row(position) ⇒ Gtk::TreeListRow
If self is not expanded or position is greater than the number of children, nil is returned.
#is_expandable ⇒ Boolean
Checks if a row can be expanded.
This does not mean that the row is actually expanded, this can be checked with [methodGtk.TreeListRow.get_expanded].
If a row is expandable never changes until the row is removed from its model at which point it will forever return false.
#item ⇒ GObject::Object
The item held in this row.
#item=(item) ⇒ GObject::Object
The item held in this row.
#parent ⇒ Gtk::TreeListRow
Gets the row representing the parent for self.
That is the row that would need to be collapsed to make this row disappear.
If self is a row corresponding to the root model, nil is returned.
The value returned by this function never changes until the row is removed from its model at which point it will forever return nil.
#position ⇒ Integer
Returns the position in the GtkTreeListModel that self occupies
at the moment.