2.2 <GtkAccessibleHypertext>

Interface: <GtkAccessibleHypertext>

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

Retrieve the n-th link in the accessible object.

index must be smaller than the number of links.

To override it in a new class, give register-type #:vfuncs `((get-link . ,procedure)). The procedure is called as (procedure self index) ⇒ %return.

implementor

Passed: the class whose implementation to call: a class that implements <GtkAccessibleHypertext>, or its GType number.

self

Passed: a <GtkAccessibleHypertext>.

the accessible object

index

Passed: an unsigned 32-bit integer.

the index of the link

%return

Returned: a <GtkAccessibleHyperlink>.

the link

To override it in a new class, give register-type #:vfuncs `((get-link-at . ,procedure)). The procedure is called as (procedure self offset) ⇒ %return.

implementor

Passed: the class whose implementation to call: a class that implements <GtkAccessibleHypertext>, or its GType number.

self

Passed: a <GtkAccessibleHypertext>.

offset

Passed: an unsigned 32-bit integer.

%return

Returned: an unsigned 32-bit integer.

Retrieve the number of links in the accessible object.

To override it in a new class, give register-type #:vfuncs `((get-n-links . ,procedure)). The procedure is called as (procedure self) ⇒ %return.

implementor

Passed: the class whose implementation to call: a class that implements <GtkAccessibleHypertext>, or its GType number.

self

Passed: a <GtkAccessibleHypertext>.

the accessible object

%return

Returned: an unsigned 32-bit integer.

the number of links