Struct gtk4::TreePath [−][src]
pub struct TreePath(_);
Expand description
An opaque structure representing a path to a row in a model.
Implementations
Creates a new TreePath
initialized to path
.
path
is expected to be a colon separated list of numbers.
For example, the string “10:4:0” would create a path of depth
3 pointing to the 11th child of the root node, the 5th
child of that 11th child, and the 1st child of that 5th child.
If an invalid path string is passed in, None
is returned.
path
The string representation of a path
Returns
A newly-created TreePath
Returns true
if descendant
is a descendant of self
.
descendant
another TreePath
Returns
true
if descendant
is contained inside self
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for TreePath
impl UnwindSafe for TreePath
Blanket Implementations
Mutably borrows from an owned value. Read more