Top | ![]() |
![]() |
![]() |
![]() |
GtkAccessible * | accessible | Read / Write / Construct Only |
GtkAccessibleRole | accessible-role | Read / Write / Construct Only |
GtkATContext is an abstract class provided by GTK to communicate to 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.
GtkAccessible *
gtk_at_context_get_accessible (GtkATContext *self
);
Retrieves the GtkAccessible using this context.
GtkAccessibleRole
gtk_at_context_get_accessible_role (GtkATContext *self
);
Retrieves the accessible role of this context.
GtkATContext * gtk_at_context_create (GtkAccessibleRole accessible_role
,GtkAccessible *accessible
);
Creates a new GtkATContext instance for the given accessible role and accessible instance.
The GtkATContext implementation being instantiated will depend on the platform.
[constructor]
accessible_role |
the accessible role used by the GtkATContext |
|
accessible |
the GtkAccessible implementation using the GtkATContext |
“accessible”
property“accessible” GtkAccessible *
The GtkAccessible that created the GtkATContext instance.
Owner: GtkATContext
Flags: Read / Write / Construct Only
“accessible-role”
property“accessible-role” GtkAccessibleRole
The accessible role used by the AT context.
Depending on the given role, different states and properties can be set or retrieved.
Owner: GtkATContext
Flags: Read / Write / Construct Only
Default value: GTK_ACCESSIBLE_ROLE_NONE
“state-change”
signalvoid user_function (GtkATContext *self, guint changed_states, guint changed_properties, guint changed_relations, gpointer states, gpointer properties, gpointer relations, gpointer user_data)
Emitted when the attributes of the accessible for the GtkATContext instance change.
self |
the GtkATContext |
|
changed_states |
flags for the changed states |
|
changed_properties |
flags for the changed properties |
|
states |
the new states |
|
properties |
the new properties |
|
relations |
the new relations |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run First