Table of Contents

Class TreePath

Namespace
Gtk
Assembly
Gtk-4.0.dll
public sealed class TreePath : BoxedRecord, IEquatable<TreePath>
Inheritance
TreePath
Implements
Inherited Members

Constructors

TreePath(TreePathOwnedHandle)

public TreePath(TreePathOwnedHandle handle)

Parameters

handle TreePathOwnedHandle

Properties

Handle

public TreePathOwnedHandle Handle { get; }

Property Value

TreePathOwnedHandle

Methods

AppendIndex(int)

public void AppendIndex(int index)

Parameters

index int

Compare(TreePath)

public int Compare(TreePath b)

Parameters

b TreePath

Returns

int

Copy()

public TreePath Copy()

Returns

TreePath

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 TreePath

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Free()

public void Free()

GetDepth()

public int GetDepth()

Returns

int

GetGType()

public static Type GetGType()

Returns

Type

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetIndices()

public IntPtr GetIndices()

Returns

IntPtr

IsAncestor(TreePath)

public bool IsAncestor(TreePath descendant)

Parameters

descendant TreePath

Returns

bool

IsDescendant(TreePath)

public bool IsDescendant(TreePath ancestor)

Parameters

ancestor TreePath

Returns

bool

New()

public static TreePath New()

Returns

TreePath

NewFirst()

public static TreePath NewFirst()

Returns

TreePath

NewFromIndices(Span<int>)

public static TreePath NewFromIndices(Span<int> indices)

Parameters

indices Span<int>

Returns

TreePath

NewFromString(string)

public static TreePath? NewFromString(string path)

Parameters

path string

Returns

TreePath

Next()

public void Next()

PrependIndex(int)

public void PrependIndex(int index)

Parameters

index int

Prev()

public bool Prev()

Returns

bool

ToString()

public string? ToString()

Returns

string

Up()

public bool Up()

Returns

bool