On Sun, Sep 25, 2011 at 13:52, Karl Lattimer <[email protected]> wrote:
> Attached is a version of the GIR Clutter example (found here 
> http://wiki.clutter-project.org/wiki/ExamplePython) slightly modified to 
> include a cairo texture, for some reason, the rectangle and text work, and 
> there's space as if there were another texture there, but the texture doesn't 
> show up.
>
> Can anyone else verify this or propose a fix? I'm using pygobject-3 and 
> clutter 1.8

Hi,

that example is misleading as the functions called render* don't
render anything, they setup the actor hierarchy but the drawing will
happen at a later time.

The cairo painting should happen in the ::draw signal as explained in:

http://docs.clutter-project.org/docs/clutter/unstable/ClutterCairoTexture.html#cairo-texture-example

HTH,

Tomeu

> BR,
>  K
>
>
>
> _______________________________________________
> clutter-app-devel-list mailing list
> [email protected]
> http://lists.clutter-project.org/listinfo/clutter-app-devel-list
>
>
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to