On Tue, 2008-08-05 at 16:36 +0200, [EMAIL PROTECTED] wrote:
> hi,
> 
> I started playing around with pyclutter-0.8 and it's really awesome!
> Some things I'm missing (probably my fault):
>  - access to cogl textures

from clutter import cogl

        cogl.path_rectangle(x, y, width, height)

or simply:

        clutter.cogl.path_rectangle(...)

the cogl API has not been entirely wrapped: generic functions and the
path API are available, as of now; I'll possibly add the texture API as
well.

you can see how it works in examples/custom-actor.py.

>  - clutter_stage_read_pixels

it should be available - I'll double-check.

>  - subclassing clutter.Container

class MyContainer (clutter.Container):
        def do_add (self, actor):
                pass
        def do_remove (self, actor):
                pass

should already work. it will need some more love for the child
properties, but I plan to support those as well.

>  - cooking coffee ;)
> 
> Anyway, I'm willing to contribute documentation. Can anybody give my
> some hints where/how to start?

simply check out from SVN trunk, go in doc/reference, take an XML file
and start writing. :-)

the clutter-clutteractor.xml is mostly complete, so it can be used as a
reference.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, OpenedHand Ltd.
Unit R, Homesdale Business Centre
216-218 Homesdale Rd., Bromley - BR12QZ
http://www.o-hand.com

-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to