set_wrap


Description:

public void set_wrap (WrapMode wrap)

Sets the wrap mode; the wrap mode only has effect if a width is set on the layout with set_width.

To turn off wrapping, set the width to -1.

Parameters:

this

a Layout

wrap

the wrap mode