Table of Contents

Class WindowControls

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

Constructors

WindowControls()

public WindowControls()

WindowControls(params ConstructArgument[])

protected WindowControls(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

WindowControls(IntPtr, bool)

protected WindowControls(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

DecorationLayoutPropertyDefinition

public static readonly Property<string?, WindowControls> DecorationLayoutPropertyDefinition

Field Value

Property<string, WindowControls>

EmptyPropertyDefinition

public static readonly Property<bool, WindowControls> EmptyPropertyDefinition

Field Value

Property<bool, WindowControls>

SidePropertyDefinition

public static readonly Property<PackType, WindowControls> SidePropertyDefinition

Field Value

Property<PackType, WindowControls>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

DecorationLayout

public string? DecorationLayout { get; set; }

Property Value

string

Empty

public bool Empty { get; }

Property Value

bool

Side

public PackType Side { get; set; }

Property Value

PackType

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

GetDecorationLayout()

public string? GetDecorationLayout()

Returns

string

GetEmpty()

public bool GetEmpty()

Returns

bool

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

GetPlatformState(AccessiblePlatformState)

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

Parameters

state AccessiblePlatformState

Returns

bool

GetSide()

public PackType GetSide()

Returns

PackType

New(PackType)

public static WindowControls New(PackType side)

Parameters

side PackType

Returns

WindowControls

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

SetDecorationLayout(string?)

public void SetDecorationLayout(string? layout)

Parameters

layout string

SetSide(PackType)

public void SetSide(PackType side)

Parameters

side PackType

UpdateNextAccessibleSibling(Accessible?)

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

Parameters

newSibling Accessible