Table of Contents

Class ListModel

Namespace
Gio.Internal
Assembly
Gio-2.0.dll
public class ListModel
Inheritance
ListModel
Inherited Members

Methods

GetGType()

Calls native function g_list_model_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetItem(IntPtr, uint)

Calls native method g_list_model_get_item. Version: 2.44

[Version("2.44")]
public static extern IntPtr GetItem(IntPtr list, uint position)

Parameters

list IntPtr

Transfer ownership: None Nullable: False

position uint

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: True

GetItemType(IntPtr)

Calls native method g_list_model_get_item_type. Version: 2.44

[Version("2.44")]
public static extern nuint GetItemType(IntPtr list)

Parameters

list IntPtr

Transfer ownership: None Nullable: False

Returns

nuint

Transfer ownership: None Nullable: False

GetNItems(IntPtr)

Calls native method g_list_model_get_n_items. Version: 2.44

[Version("2.44")]
public static extern uint GetNItems(IntPtr list)

Parameters

list IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetObject(IntPtr, uint)

Calls native method g_list_model_get_object. Version: 2.44

[Version("2.44")]
public static extern IntPtr GetObject(IntPtr list, uint position)

Parameters

list IntPtr

Transfer ownership: None Nullable: False

position uint

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: True

ItemsChanged(IntPtr, uint, uint, uint)

Calls native method g_list_model_items_changed. Version: 2.44

[Version("2.44")]
public static extern void ItemsChanged(IntPtr list, uint position, uint removed, uint added)

Parameters

list IntPtr

Transfer ownership: None Nullable: False

position uint

Transfer ownership: None Nullable: False

removed uint

Transfer ownership: None Nullable: False

added uint

Transfer ownership: None Nullable: False