Class Expander
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class Expander : Widget, IObject, INotifyPropertyChanged, IDisposable, Accessible, Buildable, ConstraintTarget, IHandle, GTypeProvider
- Inheritance
-
Expander
- Implements
- Inherited Members
Constructors
Expander()
public Expander()
Expander(params ConstructArgument[])
protected Expander(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
Expander(IntPtr, bool)
protected Expander(IntPtr ptr, bool ownedRef)
Parameters
Fields
ActivateSignal
Signal Descriptor for OnActivate.
public static readonly Signal<Expander> ActivateSignal
Field Value
ChildPropertyDefinition
public static readonly Property<Widget?, Expander> ChildPropertyDefinition
Field Value
ExpandedPropertyDefinition
public static readonly Property<bool, Expander> ExpandedPropertyDefinition
Field Value
LabelPropertyDefinition
public static readonly Property<string?, Expander> LabelPropertyDefinition
Field Value
LabelWidgetPropertyDefinition
public static readonly Property<Widget?, Expander> LabelWidgetPropertyDefinition
Field Value
ResizeToplevelPropertyDefinition
public static readonly Property<bool, Expander> ResizeToplevelPropertyDefinition
Field Value
UseMarkupPropertyDefinition
public static readonly Property<bool, Expander> UseMarkupPropertyDefinition
Field Value
UseUnderlinePropertyDefinition
public static readonly Property<bool, Expander> UseUnderlinePropertyDefinition
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
Child
public Widget? Child { get; set; }
Property Value
Expanded
public bool Expanded { get; set; }
Property Value
Label
public string? Label { get; set; }
Property Value
LabelWidget
public Widget? LabelWidget { get; set; }
Property Value
ResizeToplevel
public bool ResizeToplevel { get; set; }
Property Value
UseMarkup
public bool UseMarkup { get; set; }
Property Value
UseUnderline
public bool UseUnderline { get; set; }
Property Value
Methods
Announce(string, AccessibleAnnouncementPriority)
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
message
stringpriority
AccessibleAnnouncementPriority
GetAccessibleParent()
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
GetAtContext()
[Version("4.10")]
public ATContext GetAtContext()
Returns
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
Returns
GetBuildableId()
public string? GetBuildableId()
Returns
GetChild()
public Widget? GetChild()
Returns
GetExpanded()
public bool GetExpanded()
Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
GetGType()
public static Type GetGType()
Returns
GetLabel()
public string? GetLabel()
Returns
GetLabelWidget()
public Widget? GetLabelWidget()
Returns
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
GetPlatformState(AccessiblePlatformState)
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
state
AccessiblePlatformState
Returns
GetResizeToplevel()
public bool GetResizeToplevel()
Returns
GetUseMarkup()
public bool GetUseMarkup()
Returns
GetUseUnderline()
public bool GetUseUnderline()
Returns
New(string?)
public static Expander New(string? label)
Parameters
label
string
Returns
NewWithMnemonic(string?)
public static Expander NewWithMnemonic(string? label)
Parameters
label
string
Returns
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
AccessiblenextSibling
Accessible
SetChild(Widget?)
public void SetChild(Widget? child)
Parameters
child
Widget
SetExpanded(bool)
public void SetExpanded(bool expanded)
Parameters
expanded
bool
SetLabel(string?)
public void SetLabel(string? label)
Parameters
label
string
SetLabelWidget(Widget?)
public void SetLabelWidget(Widget? labelWidget)
Parameters
labelWidget
Widget
SetResizeToplevel(bool)
public void SetResizeToplevel(bool resizeToplevel)
Parameters
resizeToplevel
bool
SetUseMarkup(bool)
public void SetUseMarkup(bool useMarkup)
Parameters
useMarkup
bool
SetUseUnderline(bool)
public void SetUseUnderline(bool useUnderline)
Parameters
useUnderline
bool
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSibling
Accessible
Events
OnActivate
public event SignalHandler<Expander> OnActivate