|
Word wrap in TextView: msg#00182gnome.gtk+.python
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) Thanks.
** Watch this space for commercial advertisements **
** People Look at Billboards, outdoor advertisements work **
Steven Bell
pygtk mailing list pygtk@xxxxxxxxxx http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Debug output from poplib and notebook tabs: 00182, Steven Bell |
|---|---|
| Next by Date: | ANN: matplotlib 0.21 -- matlab compatible plotting in python: 00182, John Hunter |
| Previous by Thread: | Debug output from poplib and notebook tabsi: 00182, Steven Bell |
| Next by Thread: | ANN: matplotlib 0.21 -- matlab compatible plotting in python: 00182, John Hunter |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |