I have been looking at the GTK api and have found what I think I need to pull it off, but have no idea how to do it in purebasic, here is what I am looking at:
http://library.gnome.org/devel/gtk/2.12 ... -word-wrap
From that, this code is what I attempted:
Code: Select all
gtkText.l=EditorGadget(#PB_Any,0,4,\lw,\lh-4);
gtk_text_set_word_wrap_(gtkText,#True);