Table of Contents

Class TreeModelSort

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class TreeModelSort : Object, IObject, INotifyPropertyChanged, IDisposable, TreeDragSource, TreeModel, TreeSortable, IHandle, GTypeProvider
Inheritance
TreeModelSort
Implements
Inherited Members

Constructors

TreeModelSort(bool, params ConstructArgument[])

protected TreeModelSort(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

TreeModelSort(IntPtr, bool)

protected TreeModelSort(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

ModelPropertyDefinition

public static readonly Property<TreeModel, TreeModelSort> ModelPropertyDefinition

Field Value

Property<TreeModel, TreeModelSort>

Properties

Model

public TreeModel Model { get; }

Property Value

TreeModel

Methods

ClearCache()

public void ClearCache()

ConvertChildPathToPath(TreePath)

public TreePath? ConvertChildPathToPath(TreePath childPath)

Parameters

childPath TreePath

Returns

TreePath

ConvertPathToChildPath(TreePath)

public TreePath? ConvertPathToChildPath(TreePath sortedPath)

Parameters

sortedPath TreePath

Returns

TreePath

DragDataDelete(TreePath)

public bool DragDataDelete(TreePath path)

Parameters

path TreePath

Returns

bool

DragDataGet(TreePath)

public ContentProvider? DragDataGet(TreePath path)

Parameters

path TreePath

Returns

ContentProvider

FilterNew(TreePath?)

public TreeModel FilterNew(TreePath? root)

Parameters

root TreePath

Returns

TreeModel

Foreach(TreeModelForeachFunc)

public void Foreach(TreeModelForeachFunc func)

Parameters

func TreeModelForeachFunc

GetColumnType(int)

public Type GetColumnType(int index)

Parameters

index int

Returns

Type

GetFlags()

public TreeModelFlags GetFlags()

Returns

TreeModelFlags

GetGType()

public static Type GetGType()

Returns

Type

GetModel()

public TreeModel GetModel()

Returns

TreeModel

GetNColumns()

public int GetNColumns()

Returns

int

GetPath(TreeIter)

public TreePath GetPath(TreeIter iter)

Parameters

iter TreeIter

Returns

TreePath

GetStringFromIter(TreeIter)

public string? GetStringFromIter(TreeIter iter)

Parameters

iter TreeIter

Returns

string

GetValist(TreeIter, IntPtr)

public void GetValist(TreeIter iter, IntPtr varArgs)

Parameters

iter TreeIter
varArgs IntPtr

HasDefaultSortFunc()

public bool HasDefaultSortFunc()

Returns

bool

IterHasChild(TreeIter)

public bool IterHasChild(TreeIter iter)

Parameters

iter TreeIter

Returns

bool

IterIsValid(TreeIter)

public bool IterIsValid(TreeIter iter)

Parameters

iter TreeIter

Returns

bool

IterNChildren(TreeIter?)

public int IterNChildren(TreeIter? iter)

Parameters

iter TreeIter

Returns

int

IterNext(TreeIter)

public bool IterNext(TreeIter iter)

Parameters

iter TreeIter

Returns

bool

IterPrevious(TreeIter)

public bool IterPrevious(TreeIter iter)

Parameters

iter TreeIter

Returns

bool

NewWithModel(TreeModel)

public static TreeModelSort NewWithModel(TreeModel childModel)

Parameters

childModel TreeModel

Returns

TreeModelSort

RefNode(TreeIter)

public void RefNode(TreeIter iter)

Parameters

iter TreeIter

ResetDefaultSortFunc()

public void ResetDefaultSortFunc()

RowChanged(TreePath, TreeIter)

public void RowChanged(TreePath path, TreeIter iter)

Parameters

path TreePath
iter TreeIter

RowDeleted(TreePath)

public void RowDeleted(TreePath path)

Parameters

path TreePath

RowDraggable(TreePath)

public bool RowDraggable(TreePath path)

Parameters

path TreePath

Returns

bool

RowHasChildToggled(TreePath, TreeIter)

public void RowHasChildToggled(TreePath path, TreeIter iter)

Parameters

path TreePath
iter TreeIter

RowInserted(TreePath, TreeIter)

public void RowInserted(TreePath path, TreeIter iter)

Parameters

path TreePath
iter TreeIter

RowsReordered(TreePath, TreeIter, ref int)

public void RowsReordered(TreePath path, TreeIter iter, ref int newOrder)

Parameters

path TreePath
iter TreeIter
newOrder int

RowsReordered(TreePath, TreeIter?, Span<int>)

public void RowsReordered(TreePath path, TreeIter? iter, Span<int> newOrder)

Parameters

path TreePath
iter TreeIter
newOrder Span<int>

SetDefaultSortFunc(TreeIterCompareFunc)

public void SetDefaultSortFunc(TreeIterCompareFunc sortFunc)

Parameters

sortFunc TreeIterCompareFunc

SetSortColumnId(int, SortType)

public void SetSortColumnId(int sortColumnId, SortType order)

Parameters

sortColumnId int
order SortType

SetSortFunc(int, TreeIterCompareFunc)

public void SetSortFunc(int sortColumnId, TreeIterCompareFunc sortFunc)

Parameters

sortColumnId int
sortFunc TreeIterCompareFunc

SortColumnChanged()

public void SortColumnChanged()

UnrefNode(TreeIter)

public void UnrefNode(TreeIter iter)

Parameters

iter TreeIter