Table of Contents

Class CenterBox

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class CenterBox : Widget, IObject, INotifyPropertyChanged, IDisposable, Accessible, Buildable, ConstraintTarget, Orientable, IHandle, GTypeProvider
Inheritance
CenterBox
Implements
Inherited Members

Constructors

CenterBox()

public CenterBox()

CenterBox(params ConstructArgument[])

protected CenterBox(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

CenterBox(IntPtr, bool)

protected CenterBox(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

BaselinePositionPropertyDefinition

public static readonly Property<BaselinePosition, CenterBox> BaselinePositionPropertyDefinition

Field Value

Property<BaselinePosition, CenterBox>

CenterWidgetPropertyDefinition

public static readonly Property<Widget?, CenterBox> CenterWidgetPropertyDefinition

Field Value

Property<Widget, CenterBox>

EndWidgetPropertyDefinition

public static readonly Property<Widget?, CenterBox> EndWidgetPropertyDefinition

Field Value

Property<Widget, CenterBox>

ShrinkCenterLastPropertyDefinition

public static readonly Property<bool, CenterBox> ShrinkCenterLastPropertyDefinition

Field Value

Property<bool, CenterBox>

StartWidgetPropertyDefinition

public static readonly Property<Widget?, CenterBox> StartWidgetPropertyDefinition

Field Value

Property<Widget, CenterBox>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

BaselinePosition

public BaselinePosition BaselinePosition { get; set; }

Property Value

BaselinePosition

CenterWidget

public Widget? CenterWidget { get; set; }

Property Value

Widget

EndWidget

public Widget? EndWidget { get; set; }

Property Value

Widget

ShrinkCenterLast

public bool ShrinkCenterLast { get; set; }

Property Value

bool

StartWidget

public Widget? StartWidget { get; set; }

Property Value

Widget

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

GetBaselinePosition()

public BaselinePosition GetBaselinePosition()

Returns

BaselinePosition

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

GetCenterWidget()

public Widget? GetCenterWidget()

Returns

Widget

GetEndWidget()

public Widget? GetEndWidget()

Returns

Widget

GetFirstAccessibleChild()

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

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

GetNextAccessibleSibling()

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

Returns

Accessible

GetOrientation()

public Orientation GetOrientation()

Returns

Orientation

GetPlatformState(AccessiblePlatformState)

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

Parameters

state AccessiblePlatformState

Returns

bool

GetShrinkCenterLast()

[Version("4.12")]
public bool GetShrinkCenterLast()

Returns

bool

GetStartWidget()

public Widget? GetStartWidget()

Returns

Widget

New()

public static CenterBox New()

Returns

CenterBox

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

SetBaselinePosition(BaselinePosition)

public void SetBaselinePosition(BaselinePosition position)

Parameters

position BaselinePosition

SetCenterWidget(Widget?)

public void SetCenterWidget(Widget? child)

Parameters

child Widget

SetEndWidget(Widget?)

public void SetEndWidget(Widget? child)

Parameters

child Widget

SetOrientation(Orientation)

public void SetOrientation(Orientation orientation)

Parameters

orientation Orientation

SetShrinkCenterLast(bool)

[Version("4.12")]
public void SetShrinkCenterLast(bool shrinkCenterLast)

Parameters

shrinkCenterLast bool

SetStartWidget(Widget?)

public void SetStartWidget(Widget? child)

Parameters

child Widget

UpdateNextAccessibleSibling(Accessible?)

[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)

Parameters

newSibling Accessible