Package: pango
Function pango:layout-ellipsize
Lambda Listpango:layout-ellipsize (layout) SyntaxArgumentsDetails
Gets or sets the type of ellipsization being performed for the Pango layout.
Depending on the ellipsization mode ellipsize text is removed from the start,
middle, or end of the text so they fit within the width and height of Pango layout set with the pango:layout-width and pango:layout-height
functions. If the Pango layout contains characters such as newlines that force it to be layed out in multiple paragraphs, then whether each paragraph is ellipsized separately or the entire Pango layout is ellipsized as a whole depends on the set height of the Pango layout. See the pango:layout-height function for details. Use the pango:layout-is-ellipsized function to query whether any paragraphs were actually ellipsized. | See also |
#2025-08-24