Package: pango

Function pango:layout-text

Lambda List

pango:layout-text (layout)

Syntax

(pango:layout-text layout) => text
(setf (pango:layout-text layout) text)

Arguments

layout -- a pango:layout object
text -- a valid UTF-8 string

Details

The pango:layout-text function gets the text in the Pango layout. The (setf pango:layout-text) function sets the text.

Note that if you have used the pango:layout-set-markup or pango:layout-set-markup-with-accel functions on the Pango layout before, you may want to call the pango:layout-attributes function to clear the attributes set on the Pango layout from the markup as this function does not clear attributes.
 

See also

2025-2-15