Method

Pango.Layout.get_width

Declaration [src]

int
pango_layout_get_width (
  PangoLayout* layout
)

Description [src]

Gets the width to which the lines of the PangoLayout should wrap.

Return value

Returns: int

the width in Pango units, or -1 if no width set.