[pygtk] PyGTK Cairo Weirdness
Adam Schreiber
adam.schreiber at gmail.com
Wed Apr 8 00:51:27 WST 2009
Following the tutorial for drawing widgets with Cairo found at [1], I
created a widget and then noticed some odd behavior when trying to
render it.
When inserted into a window by itself, the widget rendered, but in more
complex setups it did not. I created and attached a test script to
demonstrate this problem. In it the widget and a button are added to a
window in that order and render correctly. The order is then reversed
and only the button is rendered.
I would be grateful for any thoughts on what's going on. Please CC me
on any responses.
Cheers,
Adam
[1]http://www.pygtk.org/articles/cairo-pygtk-widgets/cairo-pygtk-widgets.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.py
Type: text/x-python
Size: 1924 bytes
Desc: not available
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20090407/3c48a89e/attachment.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20090407/3c48a89e/attachment.pgp
More information about the pygtk
mailing list