Pike programming language

Top Pango Pango.Layout
➤ Pango.Layout()->set_width() Pango.Layout()->xy_to_index() ➤

Method 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.

Extracted from as of .