Gtk.ATContext¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/co |
|||
r/w/c |
|||
r/w/en |
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
Emitted when the attributes of the accessible for the |
Fields¶
- Inherited:
Class Details¶
- class Gtk.ATContext(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
Communicates with platform-specific assistive technologies API.
Each platform supported by GTK implements a
GtkATContextsubclass, and is responsible for updating the accessible state in response to state changes inGtkAccessible.- classmethod create(accessible_role, accessible, display)[source]¶
- Parameters:
accessible_role (
Gtk.AccessibleRole) – the accessible role used by theGtkATContextaccessible (
Gtk.Accessible) – theGtkAccessibleimplementation using theGtkATContextdisplay (
Gdk.Display) – theGdkDisplayused by theGtkATContext
- Returns:
the
GtkATContext- Return type:
Creates a new
GtkATContextinstance for the given accessible role, accessible instance, and display connection.The
GtkATContextimplementation being instantiated will depend on the platform.
- get_accessible()[source]¶
- Returns:
a
GtkAccessible- Return type:
Retrieves the
GtkAccessibleusing this context.
Signal Details¶
- Gtk.ATContext.signals.state_change(a_t_context)¶
- Signal Name:
state-change- Flags:
- Parameters:
a_t_context (
Gtk.ATContext) – The object which received the signal
Emitted when the attributes of the accessible for the
GtkATContextinstance change.
Property Details¶
- Gtk.ATContext.props.accessible¶
- Name:
accessible- Type:
- Default Value:
- Flags:
The
GtkAccessiblethat created theGtkATContextinstance.
- Gtk.ATContext.props.accessible_role¶
- Name:
accessible-role- Type:
- Default Value:
- Flags:
The accessible role used by the AT context.
Depending on the given role, different states and properties can be set or retrieved.
- Gtk.ATContext.props.display¶
- Name:
display- Type:
- Default Value:
- Flags:
The
GdkDisplayfor theGtkATContext.