Re: [clutter] Asynchronous Television Platform based on Clutter

2008-10-14 Thread Jan Jokela
The coloured books of course! obs: from the looks of it, the interface has no sex to it. Cheers, Jan. On Tue, Oct 14, 2008 at 8:20 AM, Angel Veglektsis [EMAIL PROTECTED] wrote: Hi, I just want to say thanks for this awesome library. I developed a prototype for Asynchronous Television ,

Re: [clutter] Clutter UI design tool

2008-10-14 Thread Jan Jokela
There needn't be any comparable to Glade or QT designer for clutter since it isn't comparable to QT or GTK. Clutter isn't a widget toolkit. You can define interfaces in JSON which is quite neat. Jan. On Mon, Oct 13, 2008 at 10:14 PM, Larsson, Petter [EMAIL PROTECTED]wrote: Hi, I'm new to

Re: [clutter] Clutter UI design tool

2008-10-14 Thread Ben Lau
The design of ClutterScript should be ready for this purpose , but number of component is not enough and no framework is designed yet. By the way , I found a bug or call it defeat in ClutterScript. Although it can use ClutterScript to create any GObject-based object, it won't unref non-clutter

Re: [clutter] pyclutter: Texture from pixbuf

2008-10-14 Thread Emmanuele Bassi
On Tue, 2008-10-14 at 11:36 +0300, Tero Saarni wrote: How can I create Texture from pixbuf on clutter 0.8.2 + pyclutter bindings from SVN? the ChangeLog has all the details, but in short: tex = clutter.Texture(filename=redhand.png) if you need to just load files, ClutterTexture already

Re: [clutter] Clutter UI design tool

2008-10-14 Thread Emmanuele Bassi
On Tue, 2008-10-14 at 22:41 +0800, Ben Lau wrote: The design of ClutterScript should be ready for this purpose , but number of component is not enough and no framework is designed yet. I'm sorry, but this sentence makes little to no sense - except from the obvious truism of Clutter is missing

Re: [clutter] Actor reference to its behaviors?

2008-10-14 Thread Emmanuele Bassi
On Tue, 2008-10-14 at 08:37 -0700, ere wer wrote: Right now there seams to be no way to tell if an actor`s , lets say position, is controlled by a behavior or not! clutter_behaviour_is_applied(). There is an option to test if a beh. controls an actor, but not the reverse - is an actor is

Re: [clutter] pyclutter: Texture from pixbuf

2008-10-14 Thread Bastian Winkler
On Tue, Oct 14, 2008 at 04:03:58PM +0100, Emmanuele Bassi wrote: don't. if you really need, use the set_from_rgb_data() method with the various values from GdkPixbuf: there's a direct mapping from what's required from ClutterTexture (width, height, rowstride, alpha channel and pixel data) to

[clutter] Offscreen rendering/clipping text under gles 2.0

2008-10-14 Thread Pe'ter, Csa'sza'r
Hi Clutter Team! I have a problem on clipping pango_clutter_render_layout() rendered texts. I need to implement actors in a way they do not require open-gl clipping since the app I am working on needs to run with Gles2.0. In the case of images/textures I can use cogl_texture_rectanlge(). I can

Re: [clutter] pyclutter: Texture from pixbuf

2008-10-14 Thread Emmanuele Bassi
On Tue, 2008-10-14 at 18:10 +0200, Bastian Winkler wrote: On Tue, Oct 14, 2008 at 04:03:58PM +0100, Emmanuele Bassi wrote: don't. if you really need, use the set_from_rgb_data() method with the various values from GdkPixbuf: there's a direct mapping from what's required from ClutterTexture

Re: [clutter] Does pyclutter require GTK/X11?

2008-10-14 Thread Emmanuele Bassi
On Mon, 2008-10-06 at 09:30 -0400, Jason Tackaberry wrote: On Fri, 2008-10-03 at 19:58 +0100, Emmanuele Bassi wrote: using python on embedded devices in my experiene isn't such a good idea, especially for long running tasks, given the tendency of python 2.6 to leak like a victorian pipe.

Re: [clutter] pyclutter: Texture from pixbuf

2008-10-14 Thread Bastian Winkler
hi, you can try this: pb = gdk.pixbuf_new_from_file(redhand.png) if pb.props.has_alpha: bpp = 4 else: bpp = 3 tex = clutter.Texture() tex.set_from_rgb_data( pb.get_pixels(), pb.props.has_alpha, pb.props.width, pb.props.height,

[clutter] pyclutter: Texture from pixbuf

2008-10-14 Thread Tero Saarni
Hi, How can I create Texture from pixbuf on clutter 0.8.2 + pyclutter bindings from SVN? Following doesn't seem to work anymore: import clutter from gtk import gdk stage = clutter.Stage() tex = clutter.Texture(gdk.pixbuf_new_from_file(redhand.png)) stage.add(tex) stage.show_all()

Re: [clutter] pyclutter: Texture from pixbuf

2008-10-14 Thread Emmanuele Bassi
On Tue, 2008-10-14 at 11:36 +0300, Tero Saarni wrote: How can I create Texture from pixbuf on clutter 0.8.2 + pyclutter bindings from SVN? the ChangeLog has all the details, but in short: tex = clutter.Texture(filename=redhand.png) if you need to just load files, ClutterTexture already

[clutter] Actor reference to its behaviors?

2008-10-14 Thread ere wer
Right now there seams to be no way to tell if an actor`s , lets say position, is controlled by a behavior or not! There is an option to test if a beh. controls an actor, but not the reverse - is an actor is controlled by a beh., and which. Vary much like containers, were we can test if a