Pike v8.0 release 1738

Method GTK2.Pango.Layout()->set_wrap()


Method set_wrap

Pango.Layout set_wrap(int wrap)

Description

Sets the wrap mode; the wrap mode only has an effect if a width is set on the layout with set_width(). To turn off wrapping, set the width to -1. One of PANGO_WRAP_CHAR, PANGO_WRAP_WORD and PANGO_WRAP_WORD_CHAR.