[pygtk] Question about TextTag wrap-mode property

Fredrik Corneliusson fredrik.corneliusson at gmail.com
Thu Mar 22 23:35:47 WST 2007


Hi,
I'm not able to figure out why gtk.TextTags wrap-mode is only
respected if it is set at the beginning of a paragraph. What I'm
trying to achieve is to have some parts of a paragraph text have other
wrapping then the rest.

See attached screen dump and test script that shows my problem.

I've tested on Windows XP and Ubuntu 6.10 with the same result.

Is this how it is supposed to work?
And in that case is there another way to achieve what I want?

Regards,
Fredrik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtk_wrap_setting_problem.PNG
Type: image/png
Size: 10014 bytes
Desc: not available
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20070322/907ec6cc/g=
tk_wrap_setting_problem.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtk_word_wrap_problem.py
Type: text/x-python
Size: 2658 bytes
Desc: not available
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20070322/907ec6cc/g=
tk_word_wrap_problem.py


More information about the pygtk mailing list