Re: Clutter Cairo Python example

2011-12-08 Thread Dirk Meyer
Hi, On 11/29/2011 12:13 PM, Peter Lunden wrote: > It still does not work. Now it does not complain but it does not draw > anything just a blue stage, the draw method is never called. > > /PLu > > On 11/29/11 10:39, Bastian Winkler wrote: >> clock = CairoClock(width=300, height=300, >> surfac

Re: Clutter Cairo Python example

2011-12-03 Thread Dirk Meyer
Hi, On 11/29/2011 12:13 PM, Peter Lunden wrote: > It still does not work. Now it does not complain but it does not draw > anything just a blue stage, the draw method is never called. > > /PLu > > On 11/29/11 10:39, Bastian Winkler wrote: >> clock = CairoClock(width=300, height=300, >> surfac

Re: Clutter Cairo Python example

2011-11-29 Thread Peter Lunden
It still does not work. Now it does not complain but it does not draw anything just a blue stage, the draw method is never called. /PLu On 11/29/11 10:39, Bastian Winkler wrote: clock = CairoClock(width=300, height=300, surface_width=300, surface_height=300, auto_resize=True)

Re: Clutter Cairo Python example

2011-11-29 Thread Bastian Winkler
My bad, it only works with clutter git master. For clutter-1.8 you have to add the initial surface size to the constructor: clock = CairoClock(width=300, height=300, surface_width=300, surface_height=300, auto_resize=True) So long :wq buz On Mon, Nov 28, 2011 at 10:11:28PM +010

Re: Clutter Cairo Python example

2011-11-29 Thread Peter Lunden
Hi, Im trying to run the example but get an error during the execution of CairoClock__init__: Clutter:ERROR:./clutter-cairo-texture.c:333:clutter_cairo_texture_emit_draw: assertion failed: (self->priv->cr_surface != NULL) /PLu On 11/28/11 20:35, Bastian Winkler wrote: Hi Dischi, here's t

Re: Clutter Cairo Python example

2011-11-28 Thread Dirk Meyer
Hi, On 11/28/2011 08:35 PM, Bastian Winkler wrote: > Hi Dischi, > > here's the ported cairo-clock example: > http://paste.debian.net/147341/ That does not work for me: Clutter:ERROR:./clutter-cairo-texture.c:333:clutter_cairo_texture_emit_draw: assertion failed: (self->priv->cr_surface != NULL)

Re: Clutter Cairo Python example

2011-11-28 Thread Bastian Winkler
Hi Dischi, here's the ported cairo-clock example: http://paste.debian.net/147341/ so long :wq buz On Mon, Nov 28, 2011 at 07:57:38PM +0100, Dirk Meyer wrote: > On 11/05/2011 11:51 AM, Dirk Meyer wrote: > > I'm trying to port my Python code to gi.repository since this seems to > > be the only wa

Re: Clutter Cairo Python example

2011-11-28 Thread Jeremy Moles
On Mon, 2011-11-28 at 19:57 +0100, Dirk Meyer wrote: > On 11/05/2011 11:51 AM, Dirk Meyer wrote: > > I'm trying to port my Python code to gi.repository since this seems to > > be the only way I will be able to mix clutter, gtk and gstreamer. Most > > of the stuff already works, but the cairo textur

Re: Clutter Cairo Python example

2011-11-28 Thread Dirk Meyer
On 11/05/2011 11:51 AM, Dirk Meyer wrote: > I'm trying to port my Python code to gi.repository since this seems to > be the only way I will be able to mix clutter, gtk and gstreamer. Most > of the stuff already works, but the cairo texture is causing problems. > > I tried the "old" way to just get