Skip to content

Gtk.AccessibleHypertext

interface

An interface for accessible objects containing links.

The GtkAccessibleHypertext interfaces is meant to be implemented by accessible objects that contain links. Those links don't necessarily have to be part of text, they can be associated with images and other things.

Virtual methods

def do_get_link(self, index: int) -> AccessibleHyperlink

Retrieve the n-th link in the accessible object.

index must be smaller than the number of links.

Parameters:

  • index — the index of the link
def do_get_link_at(self, offset: int) -> int
def do_get_n_links(self) -> int

Retrieve the number of links in the accessible object.