Re: Help with Clutter::Scriptable



On Wed, Feb 23, 2011 at 9:11 PM, Brian Gregg <biscuitalmighty gmail com> wrote:
> Hi all,
>
> Someone on IRC suggested I email this list, specifically asking for Chris Kuhl.
>
> I'm having trouble with Clutter::Scritable (cluttermm-1.2 if that matters, OS X as well).  I'm looking for a simple example of how to implement the Clutter::Scriptable interface so I can script my custom Clutter::Actor's.  I don't need any custom properties right now, I just want to be able to script the properties of Clutter::Actor (width, height, position, etc.).
>

Hi Brian,

Being that the JSON objects are using C-types it's not clear to me yet
how to script a custom actor using cluttermm. I'll look at this more
deeply tomorrow.

However, from what you are describing you may be able to use the
simple Clutter::Script example I just committed.
http://git.gnome.org/browse/cluttermm/tree/examples/script.cc

Sorry I can't be more helpful at the moment.

Chris


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]