Gtk.AccessibleHyperlink¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Gtk.AccessibleHyperlink(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Represents a link (i.e. a uri).
A widget that contains one or more links should implement the [iface`Gtk`.AccessibleHypertext] interface and return `:obj:Gtk.AccessibleHyperlink] objects for each of the links.
New in version 4.22.
- classmethod new(parent, index, uri, bounds)[source]¶
- Parameters:
parent (
Gtk.AccessibleHypertext) – the parentindex (
int) – the index of this link in the parenturi (
str) – the uribounds (
Gtk.AccessibleTextRange) – the text range that the link occupies (or 0, 0)
- Return type:
Creates an accessible object that represents a hyperlink.
This is meant to be used with an implementation of the [iface`Gtk`.AccessibleHypertext] interface.
New in version 4.22.
- set_platform_state(state, enabled)[source]¶
- Parameters:
state (
Gtk.AccessiblePlatformState) – the platform state to changeenabled (
bool) – the new value for the platform state
Sets a platform state on the accessible.
New in version 4.22.