Class TreeSelection
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class TreeSelection : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
- Inheritance
-
TreeSelection
- Implements
- Inherited Members
Constructors
TreeSelection(bool, params ConstructArgument[])
protected TreeSelection(bool owned, params ConstructArgument[] constructArguments)
Parameters
owned
boolconstructArguments
ConstructArgument[]
TreeSelection(IntPtr, bool)
protected TreeSelection(IntPtr ptr, bool ownedRef)
Parameters
Fields
ChangedSignal
Signal Descriptor for OnChanged.
public static readonly Signal<TreeSelection> ChangedSignal
Field Value
ModePropertyDefinition
public static readonly Property<SelectionMode, TreeSelection> ModePropertyDefinition
Field Value
Properties
Mode
public SelectionMode Mode { get; set; }
Property Value
Methods
CountSelectedRows()
public int CountSelectedRows()
Returns
GetGType()
public static Type GetGType()
Returns
GetMode()
public SelectionMode GetMode()
Returns
GetTreeView()
public TreeView GetTreeView()
Returns
GetUserData()
public IntPtr GetUserData()
Returns
IterIsSelected(TreeIter)
public bool IterIsSelected(TreeIter iter)
Parameters
iter
TreeIter
Returns
PathIsSelected(TreePath)
public bool PathIsSelected(TreePath path)
Parameters
path
TreePath
Returns
SelectAll()
public void SelectAll()
SelectIter(TreeIter)
public void SelectIter(TreeIter iter)
Parameters
iter
TreeIter
SelectPath(TreePath)
public void SelectPath(TreePath path)
Parameters
path
TreePath
SelectRange(TreePath, TreePath)
public void SelectRange(TreePath startPath, TreePath endPath)
Parameters
SelectedForeach(TreeSelectionForeachFunc)
public void SelectedForeach(TreeSelectionForeachFunc func)
Parameters
SetMode(SelectionMode)
public void SetMode(SelectionMode type)
Parameters
type
SelectionMode
SetSelectFunction(TreeSelectionFunc?)
public void SetSelectFunction(TreeSelectionFunc? func)
Parameters
func
TreeSelectionFunc
UnselectAll()
public void UnselectAll()
UnselectIter(TreeIter)
public void UnselectIter(TreeIter iter)
Parameters
iter
TreeIter
UnselectPath(TreePath)
public void UnselectPath(TreePath path)
Parameters
path
TreePath
UnselectRange(TreePath, TreePath)
public void UnselectRange(TreePath startPath, TreePath endPath)
Parameters
Events
OnChanged
public event SignalHandler<TreeSelection> OnChanged