Package: pango

Function pango:layout-width

Lambda List

pango:layout-width (layout)

Syntax

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

Arguments

layout -- a pango:layout object
width -- an integer for the desired width in Pango units, or -1 to indicate that no wrapping or ellipsization should be performed

Details

The pango:layout-width function gets the width to which the lines of the Pango layout should wrap or ellipsized. The (setf pango:layout-width) function sets the width. The default value is -1 for no width is set.
 

See also

2025-2-15