Top |
Properties
GtkAccessible * | accessible | Read / Write / Construct Only |
GtkAccessibleRole | accessible-role | Read / Write / Construct |
GdkDisplay * | display | Read / Write |
Description
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.
Functions
gtk_at_context_get_accessible ()
GtkAccessible *
gtk_at_context_get_accessible (GtkATContext *self
);
Retrieves the GtkAccessible using this context.
gtk_at_context_get_accessible_role ()
GtkAccessibleRole
gtk_at_context_get_accessible_role (GtkATContext *self
);
Retrieves the accessible role of this context.
gtk_at_context_create ()
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]
Parameters
accessible_role |
the accessible role used by the GtkATContext |
|
accessible |
the GtkAccessible implementation using the GtkATContext |
|
display |
the GdkDisplay used by the GtkATContext |
Property Details
The “accessible”
property
“accessible” GtkAccessible *
The GtkAccessible that created the GtkATContext instance.
Owner: GtkATContext
Flags: Read / Write / Construct Only
The “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
Default value: GTK_ACCESSIBLE_ROLE_NONE
The “display”
property
“display” GdkDisplay *
The GdkDisplay for the GtkATContext.
Owner: GtkATContext
Flags: Read / Write
Signal Details
The “state-change”
signal
void user_function (GtkATContext *self, gpointer user_data)
Emitted when the attributes of the accessible for the GtkATContext instance change.
Flags: Run First