Class TreeModelFilter
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class TreeModelFilter : Object, IDisposable, TreeDragSource, TreeModel, GTypeProvider, InstanceFactory
- Inheritance
-
TreeModelFilter
- Implements
-
- Inherited Members
-
Constructors
TreeModelFilter(params ConstructArgument[])
public TreeModelFilter(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
TreeModelFilter(TreeModelFilterHandle)
public TreeModelFilter(TreeModelFilterHandle handle)
Parameters
handle
TreeModelFilterHandle
Fields
ChildModelPropertyDefinition
public static readonly Property<TreeModel, TreeModelFilter> ChildModelPropertyDefinition
Field Value
- Property<TreeModel, TreeModelFilter>
VirtualRootPropertyDefinition
public static readonly Property<TreePath, TreeModelFilter> VirtualRootPropertyDefinition
Field Value
- Property<TreePath, TreeModelFilter>
Properties
ChildModel
public TreeModel ChildModel { get; }
Property Value
- TreeModel
VirtualRoot
public TreePath VirtualRoot { get; }
Property Value
- TreePath
Methods
ClearCache()
ConvertChildPathToPath(TreePath)
public TreePath? ConvertChildPathToPath(TreePath childPath)
Parameters
childPath
TreePath
Returns
- TreePath
ConvertPathToChildPath(TreePath)
public TreePath? ConvertPathToChildPath(TreePath filterPath)
Parameters
filterPath
TreePath
Returns
- TreePath
DragDataDelete(TreePath)
public bool DragDataDelete(TreePath path)
Parameters
path
TreePath
Returns
- bool
DragDataGet(TreePath)
public ContentProvider? DragDataGet(TreePath path)
Parameters
path
TreePath
Returns
- ContentProvider
FilterNew(TreePath?)
public TreeModel FilterNew(TreePath? root)
Parameters
root
TreePath
Returns
- TreeModel
Foreach(TreeModelForeachFunc)
public void Foreach(TreeModelForeachFunc func)
Parameters
func
TreeModelForeachFunc
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
GetModel()
public TreeModel GetModel()
Returns
- TreeModel
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, nint)
public void GetValist(TreeIter iter, nint varArgs)
Parameters
iter
TreeIter
varArgs
nint
IterHasChild(TreeIter)
public bool IterHasChild(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
RefNode(TreeIter)
public void RefNode(TreeIter iter)
Parameters
iter
TreeIter
Refilter()
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
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>
SetVisibleColumn(int)
public void SetVisibleColumn(int column)
Parameters
column
int
SetVisibleFunc(TreeModelFilterVisibleFunc)
public void SetVisibleFunc(TreeModelFilterVisibleFunc func)
Parameters
func
TreeModelFilterVisibleFunc
UnrefNode(TreeIter)
public void UnrefNode(TreeIter iter)
Parameters
iter
TreeIter