On Tue, 2008-08-05 at 15:46 +0100, Emmanuele Bassi wrote: > 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.
I thought about an API for manupulating textures (as in test-cogl-tex-polygon.c for example). With pyclutter-0.6 it was possible to get the textures pixbuf an do some manipulation with cluttercairo. Is there something similar for the current bindings? BTW, there is still a pixbuf-change signal, but not Pixbuf anymore. > 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. OK, I'll try > > - 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. Thanks! -- To unsubscribe send a mail to [EMAIL PROTECTED]
