Is there any way of setting a window width to say 80 characters using gtk.WORD_CHAR for the textview widget? I turned on word wrap in WORD mode, and the window shrunk to about 10 words wide.
The setup is:
text2 = gtk.TextView(buffer=None)
text2.set_editable(FALSE)
text2.set_cursor_visible(FALSE)
val = gtk.WRAP_WORD
text2.set_wrap_mode(val)
text2.set_editable(FALSE)
text2.set_cursor_visible(FALSE)
val = gtk.WRAP_WORD
text2.set_wrap_mode(val)
Thanks.
** Watch this space for commercial advertisements **
** People Look at Billboards, outdoor advertisements work **
Steven Bell
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/