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 with the desired width in Pango units, or -1 to indicate that no wrapping or ellipsization should be performed

Details

Accessor of the width in Pango units of a Pango layout.

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

See also

2021-1-14