AccessibleHyperlink#
Added in version 4.22.
Superclasses: Object
Implemented Interfaces: Accessible
Represents a link (i.e. a uri).
A widget that contains one or more links should implement
the AccessibleHypertext interface and return
GtkAccessibleHyperlink objects for each of the links.
Constructors#
- class AccessibleHyperlink
- classmethod new(parent: AccessibleHypertext, index: int, uri: str, bounds: AccessibleTextRange) AccessibleHyperlink#
Creates an accessible object that represents a hyperlink.
This is meant to be used with an implementation of the
AccessibleHypertextinterface.Added in version 4.22.
- Parameters:
parent – the parent
index – the index of this link in the parent
uri – the uri
bounds – the text range that the link occupies (or 0, 0)
Methods#
- class AccessibleHyperlink
- set_platform_state(state: AccessiblePlatformState, enabled: bool) None#
Sets a platform state on the accessible.
Added in version 4.22.
- Parameters:
state – the platform state to change
enabled – the new value for the platform state