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
ATContextGidBuilder builder()Get builder for [gtk.atcontext.ATContext] Returns: New builder objectgtk.accessible.Accessible accessible() @propertyGet `accessible` property. Returns: The [gtk.accessible.Accessible] that created the [gtk.atcontext.ATContext] instance.gtk.types.AccessibleRole accessibleRole() @propertyGet `accessibleRole` property. Returns: The accessible role used by the AT context.void accessibleRole(gtk.types.AccessibleRole propval) @propertySet `accessibleRole` property. Params: propval = The accessible role used by the AT context.gdk.display.Display display() @propertyGet `display` property. Returns: The [gdk.display.Display] for the [gtk.atcontext.ATContext].void display(gdk.display.Display propval) @propertySet `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)Creates a new [gtk.atcontext.ATContext] instance for the given accessible role, accessible instance, and display connection.gtk.accessible.Accessible getAccessible()Retrieves the [gtk.accessible.Accessible] using this context. Returns: a [gtk.accessible.Accessible]gtk.types.AccessibleRole getAccessibleRole()Retrieves 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)Connect to `StateChange` signal.Methods
T accessible(gtk.accessible.Accessible propval)Set `accessible` property. Params: propval = The [gtk.accessible.Accessible] that created the [gtk.atcontext.ATContext] instance. Returns: Builder instance for fluent chainingT accessibleRole(gtk.types.AccessibleRole propval)Set `accessibleRole` property. Params: propval = The accessible role used by the AT context.T display(gdk.display.Display propval)Set `display` property. Params: propval = The [gdk.display.Display] for the [gtk.atcontext.ATContext]. Returns: Builder instance for fluent chaining