Top | ![]() |
![]() |
![]() |
![]() |
GtkAccessible * | accessible | Read / Write / Construct Only |
GtkAccessibleRole | accessible-role | Read / Write / Construct Only |
GdkDisplay * | display | 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
,GdkDisplay *display
);
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.
[constructor]
accessible_role |
the accessible role used by the GtkATContext |
|
accessible |
the GtkAccessible implementation using the GtkATContext |
|
display |
the GdkDisplay used by 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
“display”
property“display” GdkDisplay *
The GdkDisplay for the GtkATContext.
Owner: GtkATContext
Flags: Read / Write / Construct Only
“state-change”
signalvoid user_function (GtkATContext *self, gpointer user_data)
Emitted when the attributes of the accessible for the GtkATContext instance change.
Flags: Run First