Table of Contents

Class TreeSortable

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

Methods

GetGType()

Calls native function gtk_tree_sortable_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetSortColumnId(IntPtr, out int, out IntPtr)

Calls native method gtk_tree_sortable_get_sort_column_id.

public static extern bool GetSortColumnId(IntPtr sortable, out int sortColumnId, out IntPtr order)

Parameters

sortable IntPtr

Transfer ownership: None Nullable: False

sortColumnId int

Transfer ownership: Full Nullable: False

order IntPtr

Transfer ownership: Full Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

HasDefaultSortFunc(IntPtr)

Calls native method gtk_tree_sortable_has_default_sort_func.

public static extern bool HasDefaultSortFunc(IntPtr sortable)

Parameters

sortable IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

SetDefaultSortFunc(IntPtr, TreeIterCompareFunc, IntPtr, DestroyNotify)

Calls native method gtk_tree_sortable_set_default_sort_func.

public static extern void SetDefaultSortFunc(IntPtr sortable, TreeIterCompareFunc sortFunc, IntPtr userData, DestroyNotify destroy)

Parameters

sortable IntPtr

Transfer ownership: None Nullable: False

sortFunc TreeIterCompareFunc

Transfer ownership: None Nullable: False

userData IntPtr

Transfer ownership: None Nullable: True

destroy DestroyNotify

Transfer ownership: None Nullable: True

SetSortColumnId(IntPtr, int, SortType)

Calls native method gtk_tree_sortable_set_sort_column_id.

public static extern void SetSortColumnId(IntPtr sortable, int sortColumnId, SortType order)

Parameters

sortable IntPtr

Transfer ownership: None Nullable: False

sortColumnId int

Transfer ownership: None Nullable: False

order SortType

Transfer ownership: None Nullable: False

SetSortFunc(IntPtr, int, TreeIterCompareFunc, IntPtr, DestroyNotify)

Calls native method gtk_tree_sortable_set_sort_func.

public static extern void SetSortFunc(IntPtr sortable, int sortColumnId, TreeIterCompareFunc sortFunc, IntPtr userData, DestroyNotify destroy)

Parameters

sortable IntPtr

Transfer ownership: None Nullable: False

sortColumnId int

Transfer ownership: None Nullable: False

sortFunc TreeIterCompareFunc

Transfer ownership: None Nullable: False

userData IntPtr

Transfer ownership: None Nullable: True

destroy DestroyNotify

Transfer ownership: None Nullable: True

SortColumnChanged(IntPtr)

Calls native method gtk_tree_sortable_sort_column_changed.

public static extern void SortColumnChanged(IntPtr sortable)

Parameters

sortable IntPtr

Transfer ownership: None Nullable: False