1.1 <GtkATContext>

Class: <GtkATContext>

It derives from <GObject>.

Communicates with platform-specific assistive technologies API.

Each platform supported by GTK implements a <GtkATContext> subclass, and is responsible for updating the accessible state in response to state changes in <GtkAccessible>.

Properties

Property: atcontext:accessible self

The <GtkAccessible> that created the <GtkATContext> instance.

Its value is a <GtkAccessible>, or #f.

It can only be set when the object is made, with #:accessible.

Property: atcontext:accessible-role self

The accessible role used by the AT context.

Depending on the given role, different states and properties can be set or retrieved.

Its value is a <GtkAccessibleRole> (or, to set it, one of its symbols).

Set it with (set! (atcontext:accessible-role self) value).

Property: atcontext:display self

The <GdkDisplay> for the <GtkATContext>.

Its value is a <GdkDisplay>, or #f.

Set it with (set! (atcontext:display self) value).

Property: atcontext:realized self

Whether the <GtkATContext> has been realized or not.

Its value is a boolean.

It is read only.

Procedures

Procedure: atcontext:create accessible-role accessible display ⇒ %return

Creates a new <GtkATContext> instance for the given accessible role, accessible instance, and display connection.

The <GtkATContext> implementation being instantiated will depend on the platform.

accessible-role

Passed: a <GtkAccessibleRole>, or one of its symbols.

the accessible role used by the <GtkATContext>

accessible

Passed: a <GtkAccessible>.

the <GtkAccessible> implementation using the <GtkATContext>

display

Passed: a <GdkDisplay>.

the <GdkDisplay> used by the <GtkATContext>

%return

Returned: a <GtkATContext>, or #f.

the <GtkATContext>

Method: atcontext:get-accessible self ⇒ %return
Method: get-accessible self ⇒ %return

Retrieves the <GtkAccessible> using this context.

self

Passed: a <GtkATContext>.

a <GtkATContext>

%return

Returned: a <GtkAccessible>.

a <GtkAccessible>

Method: atcontext:get-accessible-role self ⇒ %return
Method: get-accessible-role self ⇒ %return

Retrieves the accessible role of this context.

self

Passed: a <GtkATContext>.

a <GtkATContext>

%return

Returned: a <GtkAccessibleRole>.

a <GtkAccessibleRole>

Signals

Signal: atcontext:state-change

Connect a handler with (connect object atcontext:state-change handler). It is called as (handler self).

Emitted when the attributes of the accessible for the <GtkATContext> instance change.

self

Passed: a <GtkATContext>.