Table of Contents

Class MapListModel

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

Methods

GetGType()

Calls native function gtk_map_list_model_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetModel(IntPtr)

Calls native method gtk_map_list_model_get_model.

public static extern IntPtr GetModel(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

HasMap(IntPtr)

Calls native method gtk_map_list_model_has_map.

public static extern bool HasMap(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

New(IntPtr, MapListModelMapFunc, IntPtr, DestroyNotify)

Calls native constructor gtk_map_list_model_new.

public static extern IntPtr New(IntPtr model, MapListModelMapFunc mapFunc, IntPtr userData, DestroyNotify userDestroy)

Parameters

model IntPtr

Transfer ownership: Full Nullable: True

mapFunc MapListModelMapFunc

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

userDestroy DestroyNotify

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetMapFunc(IntPtr, MapListModelMapFunc, IntPtr, DestroyNotify)

Calls native method gtk_map_list_model_set_map_func.

public static extern void SetMapFunc(IntPtr self, MapListModelMapFunc mapFunc, IntPtr userData, DestroyNotify userDestroy)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

mapFunc MapListModelMapFunc

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

userDestroy DestroyNotify

Transfer ownership: None Nullable: False

SetModel(IntPtr, IntPtr)

Calls native method gtk_map_list_model_set_model.

public static extern void SetModel(IntPtr self, IntPtr model)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

model IntPtr

Transfer ownership: None Nullable: True