GtkText::set_word_wrap
void set_word_wrap(bool word_wrap);
This method, when set to true, ensures that words
that would otherwise be broken when reaching a line end are kept
in one piece and moved to the beginning of the next line.
If you are using the PHP wordwrap() function, you
will need to use it in tandem with the GTK
set_word_wrap() method.
The default setting is false.