[pygtk] PyGTK Cairo Weirdness

2009-11-10 Thread Adam Schreiber
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

Re: [pygtk] Cairo drawing problems

2009-05-13 Thread Adam Schreiber
On Wed, May 13, 2009 at 10:33 AM, Ettore Virzi ettore.vi...@unimib.it wrote: Il giorno gio, 30/04/2009 alle 21.53 -0400, Adam Schreiber ha scritto: Is there anyone that's taken a look at this or at least run the example code I provided? Hi,  I've only had a look at the first attachment

Re: [pygtk] Cairo drawing problems

2009-04-30 Thread Adam Schreiber
On Sun, Apr 19, 2009 at 10:43 PM, Adam Schreiber sa...@gnome.org wrote: I have found a couple of unusual behaviors of drawing with cairo in Pygtk and was wondering if there were solutions or if they needed to be reported as bugs. The first is that a sub-class of a GtkDrawingArea widget

[pygtk] Cairo drawing problems

2009-04-19 Thread Adam Schreiber
and width values but the wrong y value. This behavior is demonstrated in deka.py. There are 5 rows of polygons in each column. If you can't see them, make your window taller until the fifth row comes into view. This is the problem. Cheers, Adam Schreiber #!/usr/bin/env python import gtk import math