Package: gtk

Accessor gtk:picture-alternative-text

Lambda List

gtk:picture-alternative-text (object)

Syntax

(gtk:picture-alternative-text object) => text
(setf (gtk:picture-alternative-text object) text)

Arguments

object -- a gtk:picture widget
text -- a string for the alternative textual description for the picture

Details

The accessor for the alternative-text slot of the gtk:picture class gets or sets the alternative textual description of the picture. Returns nil if the picture cannot be described textually.

It is equivalent to the "alt" attribute for images on websites. This text will be made available to accessibility tools.
 

See also

2025-08-04