[pygtk] Disappearing pango attributes
Krzysztof Kotlenga
pocek at users.sf.net
Fri Jun 26 04:01:22 WST 2009
Hi,
I have a program which, I believe, should do the same thing in both
Python and C - set pango attributes on a label. The C version works
as expected. In PyGTK version attributes get applied only on the first
character. Any ideas why does this happen? I attach both test cases.
Versions used:
PyGTK 2.14.1
PyCairo 1.8.6
PyGObject 2.18.0
Python 2.6.2
GTK+ 2.16.2
Cairo 1.8.8
Pango 1.24.3
Thanks in advance.
--
The fact is, most software is crap, and most software developers
are lazy and stupid. Same as most customers are stupid too.
-- Hua Zhong, Linux Kernel Mailing List
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: label.py
Url: http://www.daa.com.au/pipermail/pygtk/attachments/20090625/a0006ab0/attachment.txt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: label.c
Url: http://www.daa.com.au/pipermail/pygtk/attachments/20090625/a0006ab0/attachment-0001.txt
More information about the pygtk
mailing list