Table of Contents

Class TreeModelSort

Namespace
Gtk.Internal
Assembly
Gtk-4.0.dll
public class TreeModelSort
Inheritance
TreeModelSort
Inherited Members

Methods

ClearCache(IntPtr)

Calls native method gtk_tree_model_sort_clear_cache.

public static extern void ClearCache(IntPtr treeModelSort)

Parameters

treeModelSort IntPtr

Transfer ownership: None Nullable: False

ConvertChildPathToPath(IntPtr, TreePathHandle)

Calls native method gtk_tree_model_sort_convert_child_path_to_path.

public static extern TreePathOwnedHandle ConvertChildPathToPath(IntPtr treeModelSort, TreePathHandle childPath)

Parameters

treeModelSort IntPtr

Transfer ownership: None Nullable: False

childPath TreePathHandle

Transfer ownership: None Nullable: False

Returns

TreePathOwnedHandle

Transfer ownership: Full Nullable: True

ConvertPathToChildPath(IntPtr, TreePathHandle)

Calls native method gtk_tree_model_sort_convert_path_to_child_path.

public static extern TreePathOwnedHandle ConvertPathToChildPath(IntPtr treeModelSort, TreePathHandle sortedPath)

Parameters

treeModelSort IntPtr

Transfer ownership: None Nullable: False

sortedPath TreePathHandle

Transfer ownership: None Nullable: False

Returns

TreePathOwnedHandle

Transfer ownership: Full Nullable: True

GetGType()

Calls native function gtk_tree_model_sort_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetModel(IntPtr)

Calls native method gtk_tree_model_sort_get_model.

public static extern IntPtr GetModel(IntPtr treeModel)

Parameters

treeModel IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

IterIsValid(IntPtr, TreeIterHandle)

Calls native method gtk_tree_model_sort_iter_is_valid.

public static extern bool IterIsValid(IntPtr treeModelSort, TreeIterHandle iter)

Parameters

treeModelSort IntPtr

Transfer ownership: None Nullable: False

iter TreeIterHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

NewWithModel(IntPtr)

Calls native constructor gtk_tree_model_sort_new_with_model.

public static extern IntPtr NewWithModel(IntPtr childModel)

Parameters

childModel IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

ResetDefaultSortFunc(IntPtr)

Calls native method gtk_tree_model_sort_reset_default_sort_func.

public static extern void ResetDefaultSortFunc(IntPtr treeModelSort)

Parameters

treeModelSort IntPtr

Transfer ownership: None Nullable: False