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, nint, DestroyNotify)

Calls native constructor gtk_custom_sorter_new.

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

Parameters

sortFunc CompareDataFunc

Transfer ownership: None Nullable: True

userData nint

Transfer ownership: None Nullable: True

userDestroy DestroyNotify

Transfer ownership: None Nullable: True

Returns

nint

Transfer ownership: Full Nullable: False

SetSortFunc(nint, CompareDataFunc, nint, DestroyNotify)

Calls native method gtk_custom_sorter_set_sort_func.

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

Parameters

self nint

Transfer ownership: None Nullable: False

sortFunc CompareDataFunc

Transfer ownership: None Nullable: True

userData nint

Transfer ownership: None Nullable: True

userDestroy DestroyNotify

Transfer ownership: None Nullable: False