Class TreeSelection
public class TreeSelection
- Inheritance
-
TreeSelection
- Inherited Members
Methods
CountSelectedRows(IntPtr)
Calls native method gtk_tree_selection_count_selected_rows.
public static extern int CountSelectedRows(IntPtr selection)
Parameters
selection
IntPtrTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
GetGType()
Calls native function gtk_tree_selection_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetMode(IntPtr)
Calls native method gtk_tree_selection_get_mode.
public static extern SelectionMode GetMode(IntPtr selection)
Parameters
selection
IntPtrTransfer ownership: None Nullable: False
Returns
- SelectionMode
Transfer ownership: None Nullable: False
GetSelectedRows(IntPtr, out IntPtr)
Calls native method gtk_tree_selection_get_selected_rows.
public static extern ListOwnedHandle GetSelectedRows(IntPtr selection, out IntPtr model)
Parameters
selection
IntPtrTransfer ownership: None Nullable: False
model
IntPtrTransfer ownership: None Nullable: False
Returns
- ListOwnedHandle
Transfer ownership: Full Nullable: False
GetTreeView(IntPtr)
Calls native method gtk_tree_selection_get_tree_view.
public static extern IntPtr GetTreeView(IntPtr selection)
Parameters
selection
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: False
GetUserData(IntPtr)
Calls native method gtk_tree_selection_get_user_data.
public static extern IntPtr GetUserData(IntPtr selection)
Parameters
selection
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
IterIsSelected(IntPtr, TreeIterHandle)
Calls native method gtk_tree_selection_iter_is_selected.
public static extern bool IterIsSelected(IntPtr selection, TreeIterHandle iter)
Parameters
selection
IntPtrTransfer ownership: None Nullable: False
iter
TreeIterHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PathIsSelected(IntPtr, TreePathHandle)
Calls native method gtk_tree_selection_path_is_selected.
public static extern bool PathIsSelected(IntPtr selection, TreePathHandle path)
Parameters
selection
IntPtrTransfer ownership: None Nullable: False
path
TreePathHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
SelectAll(IntPtr)
Calls native method gtk_tree_selection_select_all.
public static extern void SelectAll(IntPtr selection)
Parameters
selection
IntPtrTransfer ownership: None Nullable: False
SelectIter(IntPtr, TreeIterHandle)
Calls native method gtk_tree_selection_select_iter.
public static extern void SelectIter(IntPtr selection, TreeIterHandle iter)
Parameters
selection
IntPtrTransfer ownership: None Nullable: False
iter
TreeIterHandleTransfer ownership: None Nullable: False
SelectPath(IntPtr, TreePathHandle)
Calls native method gtk_tree_selection_select_path.
public static extern void SelectPath(IntPtr selection, TreePathHandle path)
Parameters
selection
IntPtrTransfer ownership: None Nullable: False
path
TreePathHandleTransfer ownership: None Nullable: False
SelectRange(IntPtr, TreePathHandle, TreePathHandle)
Calls native method gtk_tree_selection_select_range.
public static extern void SelectRange(IntPtr selection, TreePathHandle startPath, TreePathHandle endPath)
Parameters
selection
IntPtrTransfer ownership: None Nullable: False
startPath
TreePathHandleTransfer ownership: None Nullable: False
endPath
TreePathHandleTransfer ownership: None Nullable: False
SelectedForeach(IntPtr, TreeSelectionForeachFunc, IntPtr)
Calls native method gtk_tree_selection_selected_foreach.
public static extern void SelectedForeach(IntPtr selection, TreeSelectionForeachFunc func, IntPtr data)
Parameters
selection
IntPtrTransfer ownership: None Nullable: False
func
TreeSelectionForeachFuncTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
SetMode(IntPtr, SelectionMode)
Calls native method gtk_tree_selection_set_mode.
public static extern void SetMode(IntPtr selection, SelectionMode type)
Parameters
selection
IntPtrTransfer ownership: None Nullable: False
type
SelectionModeTransfer ownership: None Nullable: False
SetSelectFunction(IntPtr, TreeSelectionFunc, IntPtr, DestroyNotify)
Calls native method gtk_tree_selection_set_select_function.
public static extern void SetSelectFunction(IntPtr selection, TreeSelectionFunc func, IntPtr data, DestroyNotify destroy)
Parameters
selection
IntPtrTransfer ownership: None Nullable: False
func
TreeSelectionFuncTransfer ownership: None Nullable: True
data
IntPtrTransfer ownership: None Nullable: True
destroy
DestroyNotifyTransfer ownership: None Nullable: False
UnselectAll(IntPtr)
Calls native method gtk_tree_selection_unselect_all.
public static extern void UnselectAll(IntPtr selection)
Parameters
selection
IntPtrTransfer ownership: None Nullable: False
UnselectIter(IntPtr, TreeIterHandle)
Calls native method gtk_tree_selection_unselect_iter.
public static extern void UnselectIter(IntPtr selection, TreeIterHandle iter)
Parameters
selection
IntPtrTransfer ownership: None Nullable: False
iter
TreeIterHandleTransfer ownership: None Nullable: False
UnselectPath(IntPtr, TreePathHandle)
Calls native method gtk_tree_selection_unselect_path.
public static extern void UnselectPath(IntPtr selection, TreePathHandle path)
Parameters
selection
IntPtrTransfer ownership: None Nullable: False
path
TreePathHandleTransfer ownership: None Nullable: False
UnselectRange(IntPtr, TreePathHandle, TreePathHandle)
Calls native method gtk_tree_selection_unselect_range.
public static extern void UnselectRange(IntPtr selection, TreePathHandle startPath, TreePathHandle endPath)
Parameters
selection
IntPtrTransfer ownership: None Nullable: False
startPath
TreePathHandleTransfer ownership: None Nullable: False
endPath
TreePathHandleTransfer ownership: None Nullable: False