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:
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 inGtkAccessible
.- classmethod create(accessible_role, accessible, display)[source]¶
- Parameters:
accessible_role (
Gtk.AccessibleRole
) – the accessible role used by theGtkATContext
accessible (
Gtk.Accessible
) – theGtkAccessible
implementation using theGtkATContext
display (
Gdk.Display
) – theGdkDisplay
used by theGtkATContext
- Returns:
the
GtkATContext
- Return type:
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.
- get_accessible()[source]¶
- Returns:
a
GtkAccessible
- Return type:
Retrieves the
GtkAccessible
using 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
GtkATContext
instance change.
Property Details¶
- Gtk.ATContext.props.accessible¶
- Name:
accessible
- Type:
- Default Value:
- Flags:
The
GtkAccessible
that created theGtkATContext
instance.
- 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
GdkDisplay
for theGtkATContext
.