Layout.getWidth

Gets the width to which the lines of the pango.layout.Layout should wrap.

class Layout
int
getWidth
()

Return Value

Type: int

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