Hiho! This is a patch which will make it possible to use the linewrapping option of the textwidget. The first thing it does is to add the function gtk_text_set_line_wrap to avoid hacking in the structure of gtktext. This function does nearly the same as gtk_text_set_word_wrap but for line_wrap instead. The next thing this patch does is to add the prototype to gtktext.h. The third thing is a new togglebutton in testgtk similarly to word_wrap but in this case for line_wrap to toggle it off and on... I'll soon have a look on the vertical scrolling functions which don't work at the moment i.e. if linewrapping is off the only way to see the rest of the line is resizing the window. I'll do this as soon as this patch gets through to avoid discrepancy between my GTK+-tree and the official CVS-tree. Servus, Daniel