Class ListModel
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
IntPtrTransfer ownership: None Nullable: False
position
uintTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
position
uintTransfer 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)