Class TreeModel
public class TreeModel
- Inheritance
-
TreeModel
- Inherited Members
Methods
FilterNew(IntPtr, TreePathHandle)
Calls native method gtk_tree_model_filter_new.
public static extern IntPtr FilterNew(IntPtr childModel, TreePathHandle root)
Parameters
childModel
IntPtrTransfer ownership: None Nullable: False
root
TreePathHandleTransfer ownership: None Nullable: True
Returns
- IntPtr
Transfer ownership: Full Nullable: False
Foreach(IntPtr, TreeModelForeachFunc, IntPtr)
Calls native method gtk_tree_model_foreach.
public static extern void Foreach(IntPtr model, TreeModelForeachFunc func, IntPtr userData)
Parameters
model
IntPtrTransfer ownership: None Nullable: False
func
TreeModelForeachFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
GetColumnType(IntPtr, int)
Calls native method gtk_tree_model_get_column_type.
public static extern nuint GetColumnType(IntPtr treeModel, int index)
Parameters
treeModel
IntPtrTransfer ownership: None Nullable: False
index
intTransfer ownership: None Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
GetFlags(IntPtr)
Calls native method gtk_tree_model_get_flags.
public static extern TreeModelFlags GetFlags(IntPtr treeModel)
Parameters
treeModel
IntPtrTransfer ownership: None Nullable: False
Returns
- TreeModelFlags
Transfer ownership: None Nullable: False
GetGType()
Calls native function gtk_tree_model_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetNColumns(IntPtr)
Calls native method gtk_tree_model_get_n_columns.
public static extern int GetNColumns(IntPtr treeModel)
Parameters
treeModel
IntPtrTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
GetPath(IntPtr, TreeIterHandle)
Calls native method gtk_tree_model_get_path.
public static extern TreePathOwnedHandle GetPath(IntPtr treeModel, TreeIterHandle iter)
Parameters
treeModel
IntPtrTransfer ownership: None Nullable: False
iter
TreeIterHandleTransfer ownership: None Nullable: False
Returns
- TreePathOwnedHandle
Transfer ownership: Full Nullable: False
GetStringFromIter(IntPtr, TreeIterHandle)
Calls native method gtk_tree_model_get_string_from_iter.
public static extern NullableUtf8StringOwnedHandle GetStringFromIter(IntPtr treeModel, TreeIterHandle iter)
Parameters
treeModel
IntPtrTransfer ownership: None Nullable: False
iter
TreeIterHandleTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: True
GetValist(IntPtr, TreeIterHandle, IntPtr)
Calls native method gtk_tree_model_get_valist.
public static extern void GetValist(IntPtr treeModel, TreeIterHandle iter, IntPtr varArgs)
Parameters
treeModel
IntPtrTransfer ownership: None Nullable: False
iter
TreeIterHandleTransfer ownership: None Nullable: False
varArgs
IntPtrTransfer ownership: None Nullable: False
IterHasChild(IntPtr, TreeIterHandle)
Calls native method gtk_tree_model_iter_has_child.
public static extern bool IterHasChild(IntPtr treeModel, TreeIterHandle iter)
Parameters
treeModel
IntPtrTransfer ownership: None Nullable: False
iter
TreeIterHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IterNChildren(IntPtr, TreeIterHandle)
Calls native method gtk_tree_model_iter_n_children.
public static extern int IterNChildren(IntPtr treeModel, TreeIterHandle iter)
Parameters
treeModel
IntPtrTransfer ownership: None Nullable: False
iter
TreeIterHandleTransfer ownership: None Nullable: True
Returns
- int
Transfer ownership: None Nullable: False
IterNext(IntPtr, TreeIterHandle)
Calls native method gtk_tree_model_iter_next.
public static extern bool IterNext(IntPtr treeModel, TreeIterHandle iter)
Parameters
treeModel
IntPtrTransfer ownership: None Nullable: False
iter
TreeIterHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IterPrevious(IntPtr, TreeIterHandle)
Calls native method gtk_tree_model_iter_previous.
public static extern bool IterPrevious(IntPtr treeModel, TreeIterHandle iter)
Parameters
treeModel
IntPtrTransfer ownership: None Nullable: False
iter
TreeIterHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
RefNode(IntPtr, TreeIterHandle)
Calls native method gtk_tree_model_ref_node.
public static extern void RefNode(IntPtr treeModel, TreeIterHandle iter)
Parameters
treeModel
IntPtrTransfer ownership: None Nullable: False
iter
TreeIterHandleTransfer ownership: None Nullable: False
RowChanged(IntPtr, TreePathHandle, TreeIterHandle)
Calls native method gtk_tree_model_row_changed.
public static extern void RowChanged(IntPtr treeModel, TreePathHandle path, TreeIterHandle iter)
Parameters
treeModel
IntPtrTransfer ownership: None Nullable: False
path
TreePathHandleTransfer ownership: None Nullable: False
iter
TreeIterHandleTransfer ownership: None Nullable: False
RowDeleted(IntPtr, TreePathHandle)
Calls native method gtk_tree_model_row_deleted.
public static extern void RowDeleted(IntPtr treeModel, TreePathHandle path)
Parameters
treeModel
IntPtrTransfer ownership: None Nullable: False
path
TreePathHandleTransfer ownership: None Nullable: False
RowHasChildToggled(IntPtr, TreePathHandle, TreeIterHandle)
Calls native method gtk_tree_model_row_has_child_toggled.
public static extern void RowHasChildToggled(IntPtr treeModel, TreePathHandle path, TreeIterHandle iter)
Parameters
treeModel
IntPtrTransfer ownership: None Nullable: False
path
TreePathHandleTransfer ownership: None Nullable: False
iter
TreeIterHandleTransfer ownership: None Nullable: False
RowInserted(IntPtr, TreePathHandle, TreeIterHandle)
Calls native method gtk_tree_model_row_inserted.
public static extern void RowInserted(IntPtr treeModel, TreePathHandle path, TreeIterHandle iter)
Parameters
treeModel
IntPtrTransfer ownership: None Nullable: False
path
TreePathHandleTransfer ownership: None Nullable: False
iter
TreeIterHandleTransfer ownership: None Nullable: False
RowsReordered(IntPtr, TreePathHandle, TreeIterHandle, ref int)
Calls native method gtk_tree_model_rows_reordered.
public static extern void RowsReordered(IntPtr treeModel, TreePathHandle path, TreeIterHandle iter, ref int newOrder)
Parameters
treeModel
IntPtrTransfer ownership: None Nullable: False
path
TreePathHandleTransfer ownership: None Nullable: False
iter
TreeIterHandleTransfer ownership: None Nullable: False
newOrder
intTransfer ownership: None Nullable: False
RowsReordered(IntPtr, TreePathHandle, TreeIterHandle, ref int, int)
Calls native method gtk_tree_model_rows_reordered_with_length.
public static extern void RowsReordered(IntPtr treeModel, TreePathHandle path, TreeIterHandle iter, ref int newOrder, int length)
Parameters
treeModel
IntPtrTransfer ownership: None Nullable: False
path
TreePathHandleTransfer ownership: None Nullable: False
iter
TreeIterHandleTransfer ownership: None Nullable: True
newOrder
intTransfer ownership: None Nullable: False
length
intTransfer ownership: None Nullable: False
UnrefNode(IntPtr, TreeIterHandle)
Calls native method gtk_tree_model_unref_node.
public static extern void UnrefNode(IntPtr treeModel, TreeIterHandle iter)
Parameters
treeModel
IntPtrTransfer ownership: None Nullable: False
iter
TreeIterHandleTransfer ownership: None Nullable: False