Class TreeExpander
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class TreeExpander : Widget, IDisposable, Accessible, Buildable, ConstraintTarget, GTypeProvider, InstanceFactory
- Inheritance
-
TreeExpander
- Implements
-
- Inherited Members
-
Constructors
TreeExpander(params ConstructArgument[])
public TreeExpander(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
TreeExpander(TreeExpanderHandle)
public TreeExpander(TreeExpanderHandle handle)
Parameters
handle
TreeExpanderHandle
Fields
ChildPropertyDefinition
public static readonly Property<Widget?, TreeExpander> ChildPropertyDefinition
Field Value
- Property<Widget, TreeExpander>
HideExpanderPropertyDefinition
public static readonly Property<bool, TreeExpander> HideExpanderPropertyDefinition
Field Value
- Property<bool, TreeExpander>
IndentForDepthPropertyDefinition
public static readonly Property<bool, TreeExpander> IndentForDepthPropertyDefinition
Field Value
- Property<bool, TreeExpander>
IndentForIconPropertyDefinition
public static readonly Property<bool, TreeExpander> IndentForIconPropertyDefinition
Field Value
- Property<bool, TreeExpander>
ItemPropertyDefinition
public static readonly Property<Object?, TreeExpander> ItemPropertyDefinition
Field Value
- Property<Object, TreeExpander>
ListRowPropertyDefinition
public static readonly Property<TreeListRow?, TreeExpander> ListRowPropertyDefinition
Field Value
- Property<TreeListRow, TreeExpander>
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
- AccessibleRole
Child
public Widget? Child { get; set; }
Property Value
- Widget
HideExpander
public bool HideExpander { get; set; }
Property Value
- bool
IndentForDepth
public bool IndentForDepth { get; set; }
Property Value
- bool
IndentForIcon
public bool IndentForIcon { get; set; }
Property Value
- bool
Item
public Object? Item { get; }
Property Value
- Object
ListRow
public TreeListRow? ListRow { get; set; }
Property Value
- TreeListRow
Methods
Announce(string, AccessibleAnnouncementPriority)
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
message
string
priority
AccessibleAnnouncementPriority
GetAccessibleParent()
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
- Accessible
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
- AccessibleRole
GetAtContext()
[Version("4.10")]
public ATContext GetAtContext()
Returns
- ATContext
GetBounds(out int, out int, out int, out int)
[Version("4.10")]
public bool GetBounds(out int x, out int y, out int width, out int height)
Parameters
x
int
y
int
width
int
height
int
Returns
- bool
GetBuildableId()
public string? GetBuildableId()
Returns
- string
GetChild()
public Widget? GetChild()
Returns
- Widget
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
- Accessible
GetGType()
public static Type GetGType()
Returns
- Type
GetHideExpander()
[Version("4.10")]
public bool GetHideExpander()
Returns
- bool
GetIndentForDepth()
[Version("4.10")]
public bool GetIndentForDepth()
Returns
- bool
GetIndentForIcon()
[Version("4.6")]
public bool GetIndentForIcon()
Returns
- bool
GetItem()
Returns
- Object
GetListRow()
public TreeListRow? GetListRow()
Returns
- TreeListRow
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
- Accessible
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
state
AccessiblePlatformState
Returns
- bool
New()
public static TreeExpander New()
Returns
- TreeExpander
ResetProperty(AccessibleProperty)
public void ResetProperty(AccessibleProperty property)
Parameters
property
AccessibleProperty
ResetRelation(AccessibleRelation)
public void ResetRelation(AccessibleRelation relation)
Parameters
relation
AccessibleRelation
ResetState(AccessibleState)
public void ResetState(AccessibleState state)
Parameters
state
AccessibleState
SetAccessibleParent(Accessible?, Accessible?)
[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)
Parameters
parent
Accessible
nextSibling
Accessible
public void SetChild(Widget? child)
Parameters
child
Widget
SetHideExpander(bool)
[Version("4.10")]
public void SetHideExpander(bool hideExpander)
Parameters
hideExpander
bool
SetIndentForDepth(bool)
[Version("4.10")]
public void SetIndentForDepth(bool indentForDepth)
Parameters
indentForDepth
bool
SetIndentForIcon(bool)
[Version("4.6")]
public void SetIndentForIcon(bool indentForIcon)
Parameters
indentForIcon
bool
SetListRow(TreeListRow?)
public void SetListRow(TreeListRow? listRow)
Parameters
listRow
TreeListRow
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSibling
Accessible