Hi,
reading ClutterActors from a .json file with:
var obj = script.get_object(object);
returns a GObject which results in an error message if I want to process
the assumed ClutterActors any further, like adding them to the stage:
stage.add_actor(obj);
Assignment: Cannot convert from
On Mon, Sep 12, 2011 at 06:03:34PM +0200, tomw wrote:
Hi,
reading ClutterActors from a .json file with:
var obj = script.get_object(object);
returns a GObject which results in an error message if I want to process
the assumed ClutterActors any further.
Try with
var obj =
... I thought it must be something simple :-)
Thanks
On Mo, 2011-09-12 at 18:08 +0200, Andrea Bolognani wrote:
Try with
var obj = script.get_object(object) as Clutter.Actor;
___
vala-list mailing list
vala-list@gnome.org