GtkText::set_line_wrap

void set_line_wrap(bool line_wrap);

set_line_wrap() , when set to true ensures that the text is sensitive to the boundaries of the GtkText widget and will wrap within them.

The default setting is true.

See also: set_word_wrap() .