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
constructArgumentsConstructArgument[]
ATContext(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected ATContext(CreationData data)
Parameters
dataCreationData
ATContext(ATContextHandle)
protected ATContext(ATContextHandle handle)
Parameters
handleATContextHandle
Fields
AccessiblePropertyDefinition
public static readonly Property<Accessible, ATContext> AccessiblePropertyDefinition
Field Value
AccessibleRolePropertyDefinition
public static readonly Property<AccessibleRole, ATContext> AccessibleRolePropertyDefinition
Field Value
DisplayPropertyDefinition
public static readonly Property<Display?, ATContext> DisplayPropertyDefinition
Field Value
StateChangeSignal
Signal Descriptor for OnStateChange.
public static readonly Signal<ATContext> StateChangeSignal
Field Value
Properties
Accessible
public Accessible Accessible { get; }
Property Value
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
Display
public Display? Display { get; set; }
Property Value
Methods
Create(AccessibleRole, Accessible, Display)
public static ATContext? Create(AccessibleRole accessibleRole, Accessible accessible, Display display)
Parameters
accessibleRoleAccessibleRoleaccessibleAccessibledisplayDisplay
Returns
GetAccessible()
public Accessible GetAccessible()
Returns
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
GetGType()
public static Type GetGType()
Returns
NewFromPointer(nint, bool)
Creates a new managed ATContext instance for a given pointer.
public static ATContext NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new ATContext and sets the properties specified by the construct arguments.
public static ATContext NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Events
OnStateChange
public event SignalHandler<ATContext> OnStateChange