Gtk.AccessibleHypertext

g GObject.GInterface GObject.GInterface Gtk.AccessibleHypertext Gtk.AccessibleHypertext GObject.GInterface->Gtk.AccessibleHypertext

Implementations:

Gtk.Label

Methods

None

Virtual Methods

do_get_link (index)

do_get_link_at (offset)

do_get_n_links ()

Properties

None

Signals

None

Fields

None

Class Details

class Gtk.AccessibleHypertext
Bases:

GObject.GInterface

Structure:

Gtk.AccessibleHypertextInterface

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.

New in version 4.22.

Parameters:

index (int) – the index of the link

Returns:

the link

Return type:

Gtk.AccessibleHyperlink

Retrieve the n-th link in the accessible object.

index must be smaller than the number of links.

New in version 4.22.

Parameters:

offset (int) –

Return type:

int

Returns:

the number of links

Return type:

int

Retrieve the number of links in the accessible object.

New in version 4.22.