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 with the alternative textual description for the picture

Details

Accessor of the alternative-text slot of the gtk:picture class. The gtk:picture-alternative-text function gets the alternative textual description of the picture or returns nil if the picture cannot be described textually. The (setf gtk:picture-alternative-text) function sets an alternative textual description. It is equivalent to the "alt" attribute for images on websites. This text will be made available to accessibility tools.
 

See also

2024-10-13