gtk.atcontext

Module for [ATContext] class

Types 3

gtk.atcontext.ATContext is an abstract class provided by GTK to communicate to platform-specific assistive technologies API.

Each platform supported by GTK implements a gtk.atcontext.ATContext subclass, and is responsible for updating the accessible state in response to state changes in gtk.accessible.Accessible.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
ATContext self() nothrowReturns `this`, for use in `with` statements.
ATContextGidBuilder builder() static nothrowGet builder for [gtk.atcontext.ATContext] Returns: New builder object
gtk.accessible.Accessible accessible() @property nothrowGet `accessible` property. Returns: The [gtk.accessible.Accessible] that created the [gtk.atcontext.ATContext] instance.
gtk.types.AccessibleRole accessibleRole() @property nothrowGet `accessibleRole` property. Returns: The accessible role used by the AT context.
void accessibleRole(gtk.types.AccessibleRole propval) @property nothrowSet `accessibleRole` property. Params: propval = The accessible role used by the AT context.
gdk.display.Display display() @property nothrowGet `display` property. Returns: The [gdk.display.Display] for the [gtk.atcontext.ATContext].
void display(gdk.display.Display propval) @property nothrowSet `display` property. Params: propval = The [gdk.display.Display] for the [gtk.atcontext.ATContext].
gtk.atcontext.ATContext create(gtk.types.AccessibleRole accessibleRole, gtk.accessible.Accessible accessible, gdk.display.Display display) static nothrowCreates a new [gtk.atcontext.ATContext] instance for the given accessible role, accessible instance, and display connection.
gtk.accessible.Accessible getAccessible() nothrowRetrieves the [gtk.accessible.Accessible] using this context. Returns: a [gtk.accessible.Accessible]
gtk.types.AccessibleRole getAccessibleRole() nothrowRetrieves the accessible role of this context. Returns: a [gtk.types.AccessibleRole]
gulong connectStateChange(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gtk.atcontext.ATContext))) && Parameters!T.length < 2) nothrowConnect to `StateChange` signal.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder implementation template for gtk.atcontext.ATContext

Methods
T accessible(gtk.accessible.Accessible propval) nothrowSet `accessible` property. Params: propval = The [gtk.accessible.Accessible] that created the [gtk.atcontext.ATContext] instance. Returns: Builder instance for fluent chaining
T accessibleRole(gtk.types.AccessibleRole propval) nothrowSet `accessibleRole` property. Params: propval = The accessible role used by the AT context.
T display(gdk.display.Display propval) nothrowSet `display` property. Params: propval = The [gdk.display.Display] for the [gtk.atcontext.ATContext]. Returns: Builder instance for fluent chaining

Fluent builder for gtk.atcontext.ATContext

Methods
ATContext build() nothrowCreate object from builder. Returns: New object