Table of Contents

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 bool
constructArguments ConstructArgument[]

TreeSelection(IntPtr, bool)

protected TreeSelection(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

ChangedSignal

Signal Descriptor for OnChanged.

public static readonly Signal<TreeSelection> ChangedSignal

Field Value

Signal<TreeSelection>

ModePropertyDefinition

public static readonly Property<SelectionMode, TreeSelection> ModePropertyDefinition

Field Value

Property<SelectionMode, TreeSelection>

Properties

Mode

public SelectionMode Mode { get; set; }

Property Value

SelectionMode

Methods

CountSelectedRows()

public int CountSelectedRows()

Returns

int

GetGType()

public static Type GetGType()

Returns

Type

GetMode()

public SelectionMode GetMode()

Returns

SelectionMode

GetTreeView()

public TreeView GetTreeView()

Returns

TreeView

GetUserData()

public IntPtr GetUserData()

Returns

IntPtr

IterIsSelected(TreeIter)

public bool IterIsSelected(TreeIter iter)

Parameters

iter TreeIter

Returns

bool

PathIsSelected(TreePath)

public bool PathIsSelected(TreePath path)

Parameters

path TreePath

Returns

bool

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

startPath TreePath
endPath TreePath

SelectedForeach(TreeSelectionForeachFunc)

public void SelectedForeach(TreeSelectionForeachFunc func)

Parameters

func TreeSelectionForeachFunc

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

startPath TreePath
endPath TreePath

Events

OnChanged

public event SignalHandler<TreeSelection> OnChanged

Event Type

SignalHandler<TreeSelection>