Class List
public class List
- Inheritance
-
List
- Inherited Members
Methods
Alloc()
Calls native function g_list_alloc.
public static extern ListUnownedHandle Alloc()
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
Append(ListHandle, IntPtr)
Calls native function g_list_append.
public static extern ListUnownedHandle Append(ListHandle list, IntPtr data)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
Concat(ListHandle, ListHandle)
Calls native function g_list_concat.
public static extern ListUnownedHandle Concat(ListHandle list1, ListHandle list2)
Parameters
list1
ListHandleTransfer ownership: None Nullable: False
list2
ListHandleTransfer ownership: None Nullable: False
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
Copy(ListHandle)
Calls native function g_list_copy.
public static extern ListUnownedHandle Copy(ListHandle list)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
CopyDeep(ListHandle, CopyFunc, IntPtr)
Calls native function g_list_copy_deep. Version: 2.34
[Version("2.34")]
public static extern ListUnownedHandle CopyDeep(ListHandle list, CopyFunc func, IntPtr userData)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
func
CopyFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
DeleteLink(ListHandle, ListHandle)
Calls native function g_list_delete_link.
public static extern ListUnownedHandle DeleteLink(ListHandle list, ListHandle link)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
link
ListHandleTransfer ownership: None Nullable: False
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
Find(ListHandle, IntPtr)
Calls native function g_list_find.
public static extern ListUnownedHandle Find(ListHandle list, IntPtr data)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
FindCustom(ListHandle, IntPtr, CompareFunc)
Calls native function g_list_find_custom.
public static extern ListUnownedHandle FindCustom(ListHandle list, IntPtr data, CompareFunc func)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
func
CompareFuncTransfer ownership: None Nullable: False
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
First(ListHandle)
Calls native function g_list_first.
public static extern ListUnownedHandle First(ListHandle list)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
Foreach(ListHandle, Func, IntPtr)
Calls native function g_list_foreach.
public static extern void Foreach(ListHandle list, Func func, IntPtr userData)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
func
FuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
Free(ListHandle)
Calls native function g_list_free.
public static extern void Free(ListHandle list)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
Free1(ListHandle)
Calls native function g_list_free_1.
public static extern void Free1(ListHandle list)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
FreeFull(ListHandle, DestroyNotify)
Calls native function g_list_free_full. Version: 2.28
[Version("2.28")]
public static extern void FreeFull(ListHandle list, DestroyNotify freeFunc)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
freeFunc
DestroyNotifyTransfer ownership: None Nullable: False
Index(ListHandle, IntPtr)
Calls native function g_list_index.
public static extern int Index(ListHandle list, IntPtr data)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
Returns
- int
Transfer ownership: None Nullable: False
Insert(ListHandle, IntPtr, int)
Calls native function g_list_insert.
public static extern ListUnownedHandle Insert(ListHandle list, IntPtr data, int position)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
position
intTransfer ownership: None Nullable: False
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
InsertBefore(ListHandle, ListHandle, IntPtr)
Calls native function g_list_insert_before.
public static extern ListUnownedHandle InsertBefore(ListHandle list, ListHandle sibling, IntPtr data)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
sibling
ListHandleTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
InsertBeforeLink(ListHandle, ListHandle, ListHandle)
Calls native function g_list_insert_before_link. Version: 2.62
[Version("2.62")]
public static extern ListUnownedHandle InsertBeforeLink(ListHandle list, ListHandle sibling, ListHandle link)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
sibling
ListHandleTransfer ownership: None Nullable: True
link
ListHandleTransfer ownership: None Nullable: False
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
InsertSorted(ListHandle, IntPtr, CompareFunc)
Calls native function g_list_insert_sorted.
public static extern ListUnownedHandle InsertSorted(ListHandle list, IntPtr data, CompareFunc func)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
func
CompareFuncTransfer ownership: None Nullable: False
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
InsertSortedWithData(ListHandle, IntPtr, CompareDataFunc, IntPtr)
Calls native function g_list_insert_sorted_with_data. Version: 2.10
[Version("2.10")]
public static extern ListUnownedHandle InsertSortedWithData(ListHandle list, IntPtr data, CompareDataFunc func, IntPtr userData)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
func
CompareDataFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
Last(ListHandle)
Calls native function g_list_last.
public static extern ListUnownedHandle Last(ListHandle list)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
Length(ListHandle)
Calls native function g_list_length.
public static extern uint Length(ListHandle list)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
Nth(ListHandle, uint)
Calls native function g_list_nth.
public static extern ListUnownedHandle Nth(ListHandle list, uint n)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
n
uintTransfer ownership: None Nullable: False
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
NthData(ListHandle, uint)
Calls native function g_list_nth_data.
public static extern IntPtr NthData(ListHandle list, uint n)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
n
uintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
NthPrev(ListHandle, uint)
Calls native function g_list_nth_prev.
public static extern ListUnownedHandle NthPrev(ListHandle list, uint n)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
n
uintTransfer ownership: None Nullable: False
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
PopAllocator()
Calls native function g_list_pop_allocator.
public static extern void PopAllocator()
Position(ListHandle, ListHandle)
Calls native function g_list_position.
public static extern int Position(ListHandle list, ListHandle llink)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
llink
ListHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
Prepend(ListHandle, IntPtr)
Calls native function g_list_prepend.
public static extern ListUnownedHandle Prepend(ListHandle list, IntPtr data)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
PushAllocator(AllocatorHandle)
Calls native function g_list_push_allocator.
public static extern void PushAllocator(AllocatorHandle allocator)
Parameters
allocator
AllocatorHandleTransfer ownership: None Nullable: False
Remove(ListHandle, IntPtr)
Calls native function g_list_remove.
public static extern ListUnownedHandle Remove(ListHandle list, IntPtr data)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
RemoveAll(ListHandle, IntPtr)
Calls native function g_list_remove_all.
public static extern ListUnownedHandle RemoveAll(ListHandle list, IntPtr data)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
RemoveLink(ListHandle, ListHandle)
Calls native function g_list_remove_link.
public static extern ListUnownedHandle RemoveLink(ListHandle list, ListHandle llink)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
llink
ListHandleTransfer ownership: None Nullable: False
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
Reverse(ListHandle)
Calls native function g_list_reverse.
public static extern ListUnownedHandle Reverse(ListHandle list)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
Sort(ListHandle, CompareFunc)
Calls native function g_list_sort.
public static extern ListUnownedHandle Sort(ListHandle list, CompareFunc compareFunc)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
compareFunc
CompareFuncTransfer ownership: None Nullable: False
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
SortWithData(ListHandle, CompareDataFunc, IntPtr)
Calls native function g_list_sort_with_data.
public static extern ListUnownedHandle SortWithData(ListHandle list, CompareDataFunc compareFunc, IntPtr userData)
Parameters
list
ListHandleTransfer ownership: None Nullable: False
compareFunc
CompareDataFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False