Table of Contents

Class ATContext

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class ATContext : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
ATContext
Implements
Inherited Members

Constructors

ATContext(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public ATContext(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

ATContext(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected ATContext(CreationData data)

Parameters

data CreationData

ATContext(ATContextHandle)

protected ATContext(ATContextHandle handle)

Parameters

handle ATContextHandle

Fields

AccessiblePropertyDefinition

public static readonly Property<Accessible, ATContext> AccessiblePropertyDefinition

Field Value

Property<Accessible, ATContext>

AccessibleRolePropertyDefinition

public static readonly Property<AccessibleRole, ATContext> AccessibleRolePropertyDefinition

Field Value

Property<AccessibleRole, ATContext>

DisplayPropertyDefinition

public static readonly Property<Display?, ATContext> DisplayPropertyDefinition

Field Value

Property<Display, ATContext>

StateChangeSignal

Signal Descriptor for OnStateChange.

public static readonly Signal<ATContext> StateChangeSignal

Field Value

Signal<ATContext>

Properties

Accessible

public Accessible Accessible { get; }

Property Value

Accessible

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

Display

public Display? Display { get; set; }

Property Value

Display

Methods

Create(AccessibleRole, Accessible, Display)

public static ATContext? Create(AccessibleRole accessibleRole, Accessible accessible, Display display)

Parameters

accessibleRole AccessibleRole
accessible Accessible
display Display

Returns

ATContext

GetAccessible()

public Accessible GetAccessible()

Returns

Accessible

GetAccessibleRole()

public AccessibleRole GetAccessibleRole()

Returns

AccessibleRole

GetGType()

public static Type GetGType()

Returns

Type

NewFromPointer(nint, bool)

Creates a new managed ATContext instance for a given pointer.

public static ATContext NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

ATContext

NewWithProperties(ConstructArgument[])

Creates a new ATContext and sets the properties specified by the construct arguments.

public static ATContext NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

ATContext

Events

OnStateChange

public event SignalHandler<ATContext> OnStateChange

Event Type

SignalHandler<ATContext>