Class TreePath
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public sealed class TreePath : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<TreePath>, IDisposable
- Inheritance
-
TreePath
- Implements
- Inherited Members
Constructors
TreePath(TreePathOwnedHandle)
public TreePath(TreePathOwnedHandle handle)
Parameters
handle
TreePathOwnedHandle
Properties
Handle
public TreePathOwnedHandle Handle { get; }
Property Value
Methods
AppendIndex(int)
public void AppendIndex(int index)
Parameters
index
int
Compare(TreePath)
public int Compare(TreePath b)
Parameters
b
TreePath
Returns
Copy()
public TreePath Copy()
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Down()
public void Down()
Equals(TreePath?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(TreePath? other)
Parameters
other
TreePathAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Free()
public void Free()
GetDepth()
public int GetDepth()
Returns
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetIndices()
public nint GetIndices()
Returns
IsAncestor(TreePath)
public bool IsAncestor(TreePath descendant)
Parameters
descendant
TreePath
Returns
IsDescendant(TreePath)
public bool IsDescendant(TreePath ancestor)
Parameters
ancestor
TreePath
Returns
New()
public static TreePath New()
Returns
NewFirst()
public static TreePath NewFirst()
Returns
NewFromIndices(Span<int>)
public static TreePath NewFromIndices(Span<int> indices)
Parameters
Returns
NewFromString(string)
public static TreePath? NewFromString(string path)
Parameters
path
string
Returns
Next()
public void Next()
PrependIndex(int)
public void PrependIndex(int index)
Parameters
index
int
Prev()
public bool Prev()
Returns
ToString()
public string? ToString()
Returns
Up()
public bool Up()