[cairo] Pycairo issues

Eduardo Silva edsiper at gmail.com
Wed Jul 5 19:18:55 PDT 2006


Mi name is Eduardo, I'm writing from Chile.

I have a problem with a simple drawingarea :

In the expose event I drawed a rectangle with a blue color and then a grid.
When I push a button (gtkbutton), this call a gobject.timeout_add(...)
method and the callable method start to draw a simple line every 500ms,
that's working fine until the expose event appears: move the window,
minimize, etc. the expose event redraw all that I have and it create a new
context, but the function that's working from gobject.timeout_add(...) can't
draw in the context, functions like move_to and line_to say that all is ok
but I don't know what happens because nothing is drawed again.

ideas??

best regards.

Eduardo Silva
Valparaiso - Chile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/cairo/attachments/20060705/ca1b4d1d/attachment.html


More information about the cairo mailing list