Class TreeListRow
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class TreeListRow : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
TreeListRow
- Implements
- Inherited Members
Constructors
TreeListRow(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public TreeListRow(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
TreeListRow(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected TreeListRow(CreationData data)
Parameters
dataCreationData
TreeListRow(TreeListRowHandle)
protected TreeListRow(TreeListRowHandle handle)
Parameters
handleTreeListRowHandle
Fields
ChildrenPropertyDefinition
public static readonly Property<ListModel, TreeListRow> ChildrenPropertyDefinition
Field Value
DepthPropertyDefinition
public static readonly Property<uint, TreeListRow> DepthPropertyDefinition
Field Value
ExpandablePropertyDefinition
public static readonly Property<bool, TreeListRow> ExpandablePropertyDefinition
Field Value
ExpandedPropertyDefinition
public static readonly Property<bool, TreeListRow> ExpandedPropertyDefinition
Field Value
ItemPropertyDefinition
public static readonly Property<Object?, TreeListRow> ItemPropertyDefinition
Field Value
Properties
Children
public ListModel Children { get; }
Property Value
Depth
public uint Depth { get; }
Property Value
Expandable
public bool Expandable { get; }
Property Value
Expanded
public bool Expanded { get; set; }
Property Value
Item
public Object? Item { get; }
Property Value
Methods
GetChildRow(uint)
public TreeListRow? GetChildRow(uint position)
Parameters
positionuint
Returns
GetChildren()
public ListModel? GetChildren()
Returns
GetDepth()
public uint GetDepth()
Returns
GetExpanded()
public bool GetExpanded()
Returns
GetGType()
public static Type GetGType()
Returns
GetItem()
public Object? GetItem()
Returns
GetParent()
public TreeListRow? GetParent()
Returns
GetPosition()
public uint GetPosition()
Returns
IsExpandable()
public bool IsExpandable()
Returns
NewFromPointer(nint, bool)
Creates a new managed TreeListRow instance for a given pointer.
public static TreeListRow NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new TreeListRow and sets the properties specified by the construct arguments.
public static TreeListRow NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetExpanded(bool)
public void SetExpanded(bool expanded)
Parameters
expandedbool