Class TreeStore
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class TreeStore : Object, IObject, INotifyPropertyChanged, IDisposable, Buildable, TreeDragDest, TreeDragSource, TreeModel, TreeSortable, IHandle, GTypeProvider
- Inheritance
-
TreeStore
- Implements
-
- Inherited Members
-
Constructors
TreeStore(bool, params ConstructArgument[])
protected TreeStore(bool owned, params ConstructArgument[] constructArguments)
Parameters
owned
bool
constructArguments
ConstructArgument[]
TreeStore(IntPtr, bool)
protected TreeStore(IntPtr ptr, bool ownedRef)
Parameters
ptr
IntPtr
ownedRef
bool
Methods
Clear()
DragDataDelete(TreePath)
public bool DragDataDelete(TreePath path)
Parameters
path
TreePath
Returns
- bool
DragDataGet(TreePath)
public ContentProvider? DragDataGet(TreePath path)
Parameters
path
TreePath
Returns
- ContentProvider
DragDataReceived(TreePath, Value)
public bool DragDataReceived(TreePath dest, Value value)
Parameters
dest
TreePath
value
Value
Returns
- bool
FilterNew(TreePath?)
public TreeModel FilterNew(TreePath? root)
Parameters
root
TreePath
Returns
- TreeModel
Foreach(TreeModelForeachFunc)
public void Foreach(TreeModelForeachFunc func)
Parameters
func
TreeModelForeachFunc
GetBuildableId()
public string? GetBuildableId()
Returns
- string
GetColumnType(int)
public Type GetColumnType(int index)
Parameters
index
int
Returns
- Type
GetFlags()
public TreeModelFlags GetFlags()
Returns
- TreeModelFlags
GetGType()
public static Type GetGType()
Returns
- Type
GetNColumns()
Returns
- int
GetPath(TreeIter)
public TreePath GetPath(TreeIter iter)
Parameters
iter
TreeIter
Returns
- TreePath
GetStringFromIter(TreeIter)
public string? GetStringFromIter(TreeIter iter)
Parameters
iter
TreeIter
Returns
- string
GetValist(TreeIter, IntPtr)
public void GetValist(TreeIter iter, IntPtr varArgs)
Parameters
iter
TreeIter
varArgs
IntPtr
HasDefaultSortFunc()
public bool HasDefaultSortFunc()
Returns
- bool
IsAncestor(TreeIter, TreeIter)
public bool IsAncestor(TreeIter iter, TreeIter descendant)
Parameters
iter
TreeIter
descendant
TreeIter
Returns
- bool
IterDepth(TreeIter)
public int IterDepth(TreeIter iter)
Parameters
iter
TreeIter
Returns
- int
IterHasChild(TreeIter)
public bool IterHasChild(TreeIter iter)
Parameters
iter
TreeIter
Returns
- bool
IterIsValid(TreeIter)
public bool IterIsValid(TreeIter iter)
Parameters
iter
TreeIter
Returns
- bool
IterNChildren(TreeIter?)
public int IterNChildren(TreeIter? iter)
Parameters
iter
TreeIter
Returns
- int
IterNext(TreeIter)
public bool IterNext(TreeIter iter)
Parameters
iter
TreeIter
Returns
- bool
IterPrevious(TreeIter)
public bool IterPrevious(TreeIter iter)
Parameters
iter
TreeIter
Returns
- bool
MoveAfter(TreeIter, TreeIter?)
public void MoveAfter(TreeIter iter, TreeIter? position)
Parameters
iter
TreeIter
position
TreeIter
MoveBefore(TreeIter, TreeIter?)
public void MoveBefore(TreeIter iter, TreeIter? position)
Parameters
iter
TreeIter
position
TreeIter
RefNode(TreeIter)
public void RefNode(TreeIter iter)
Parameters
iter
TreeIter
Remove(TreeIter)
public bool Remove(TreeIter iter)
Parameters
iter
TreeIter
Returns
- bool
RowChanged(TreePath, TreeIter)
public void RowChanged(TreePath path, TreeIter iter)
Parameters
path
TreePath
iter
TreeIter
RowDeleted(TreePath)
public void RowDeleted(TreePath path)
Parameters
path
TreePath
RowDraggable(TreePath)
public bool RowDraggable(TreePath path)
Parameters
path
TreePath
Returns
- bool
RowDropPossible(TreePath, Value)
public bool RowDropPossible(TreePath destPath, Value value)
Parameters
destPath
TreePath
value
Value
Returns
- bool
RowHasChildToggled(TreePath, TreeIter)
public void RowHasChildToggled(TreePath path, TreeIter iter)
Parameters
path
TreePath
iter
TreeIter
RowInserted(TreePath, TreeIter)
public void RowInserted(TreePath path, TreeIter iter)
Parameters
path
TreePath
iter
TreeIter
RowsReordered(TreePath, TreeIter, ref int)
public void RowsReordered(TreePath path, TreeIter iter, ref int newOrder)
Parameters
path
TreePath
iter
TreeIter
newOrder
int
RowsReordered(TreePath, TreeIter?, Span<int>)
public void RowsReordered(TreePath path, TreeIter? iter, Span<int> newOrder)
Parameters
path
TreePath
iter
TreeIter
newOrder
Span<int>
Set(TreeIter, Span<int>, Value[])
public void Set(TreeIter iter, Span<int> columns, Value[] values)
Parameters
iter
TreeIter
columns
Span<int>
values
Value[]
SetDefaultSortFunc(TreeIterCompareFunc)
public void SetDefaultSortFunc(TreeIterCompareFunc sortFunc)
Parameters
sortFunc
TreeIterCompareFunc
SetSortColumnId(int, SortType)
public void SetSortColumnId(int sortColumnId, SortType order)
Parameters
sortColumnId
int
order
SortType
SetSortFunc(int, TreeIterCompareFunc)
public void SetSortFunc(int sortColumnId, TreeIterCompareFunc sortFunc)
Parameters
sortColumnId
int
sortFunc
TreeIterCompareFunc
SetValist(TreeIter, IntPtr)
public void SetValist(TreeIter iter, IntPtr varArgs)
Parameters
iter
TreeIter
varArgs
IntPtr
SetValue(TreeIter, int, Value)
public void SetValue(TreeIter iter, int column, Value value)
Parameters
iter
TreeIter
column
int
value
Value
SortColumnChanged()
public void SortColumnChanged()
Swap(TreeIter, TreeIter)
public void Swap(TreeIter a, TreeIter b)
Parameters
a
TreeIter
b
TreeIter
UnrefNode(TreeIter)
public void UnrefNode(TreeIter iter)
Parameters
iter
TreeIter