Table of Contents

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

ptr IntPtr
ownedRef bool

Fields

ActivateSignal

Signal Descriptor for OnActivate.

public static readonly Signal<Expander> ActivateSignal

Field Value

Signal<Expander>

ChildPropertyDefinition

public static readonly Property<Widget?, Expander> ChildPropertyDefinition

Field Value

Property<Widget, Expander>

ExpandedPropertyDefinition

public static readonly Property<bool, Expander> ExpandedPropertyDefinition

Field Value

Property<bool, Expander>

LabelPropertyDefinition

public static readonly Property<string?, Expander> LabelPropertyDefinition

Field Value

Property<string, Expander>

LabelWidgetPropertyDefinition

public static readonly Property<Widget?, Expander> LabelWidgetPropertyDefinition

Field Value

Property<Widget, Expander>

ResizeToplevelPropertyDefinition

public static readonly Property<bool, Expander> ResizeToplevelPropertyDefinition

Field Value

Property<bool, Expander>

UseMarkupPropertyDefinition

public static readonly Property<bool, Expander> UseMarkupPropertyDefinition

Field Value

Property<bool, Expander>

UseUnderlinePropertyDefinition

public static readonly Property<bool, Expander> UseUnderlinePropertyDefinition

Field Value

Property<bool, Expander>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

Child

public Widget? Child { get; set; }

Property Value

Widget

Expanded

public bool Expanded { get; set; }

Property Value

bool

Label

public string? Label { get; set; }

Property Value

string

LabelWidget

public Widget? LabelWidget { get; set; }

Property Value

Widget

ResizeToplevel

public bool ResizeToplevel { get; set; }

Property Value

bool

UseMarkup

public bool UseMarkup { get; set; }

Property Value

bool

UseUnderline

public bool UseUnderline { get; set; }

Property Value

bool

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

GetExpanded()

public bool GetExpanded()

Returns

bool

GetFirstAccessibleChild()

[Version("4.10")]
public Accessible? GetFirstAccessibleChild()

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

GetLabel()

public string? GetLabel()

Returns

string

GetLabelWidget()

public Widget? GetLabelWidget()

Returns

Widget

GetNextAccessibleSibling()

[Version("4.10")]
public Accessible? GetNextAccessibleSibling()

Returns

Accessible

GetPlatformState(AccessiblePlatformState)

[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)

Parameters

state AccessiblePlatformState

Returns

bool

GetResizeToplevel()

public bool GetResizeToplevel()

Returns

bool

GetUseMarkup()

public bool GetUseMarkup()

Returns

bool

GetUseUnderline()

public bool GetUseUnderline()

Returns

bool

New(string?)

public static Expander New(string? label)

Parameters

label string

Returns

Expander

NewWithMnemonic(string?)

public static Expander NewWithMnemonic(string? label)

Parameters

label string

Returns

Expander

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

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

Event Type

SignalHandler<Expander>