Table of Contents

Class CustomSorter

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

Methods

GetGType()

Calls native function gtk_custom_sorter_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

New(CompareDataFunc, IntPtr, DestroyNotify)

Calls native constructor gtk_custom_sorter_new.

public static extern IntPtr New(CompareDataFunc sortFunc, IntPtr userData, DestroyNotify userDestroy)

Parameters

sortFunc CompareDataFunc

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

userDestroy DestroyNotify

Transfer ownership: None Nullable: True

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetSortFunc(IntPtr, CompareDataFunc, IntPtr, DestroyNotify)

Calls native method gtk_custom_sorter_set_sort_func.

public static extern void SetSortFunc(IntPtr self, CompareDataFunc sortFunc, IntPtr userData, DestroyNotify userDestroy)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

sortFunc CompareDataFunc

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

userDestroy DestroyNotify

Transfer ownership: None Nullable: False