Method

PangoLayoutis_wrapped

Declaration [src]

gboolean
pango_layout_is_wrapped (
  PangoLayout* layout
)

Description [src]

Queries whether the layout had to wrap any paragraphs.

This returns TRUE if a positive width is set on layout, ellipsization mode of layout is set to PANGO_ELLIPSIZE_NONE, and there are paragraphs exceeding the layout width that have to be wrapped.

Available since:1.16

Return value

Returns: gboolean
 

TRUE if any paragraphs had to be wrapped, FALSE otherwise.