[Vala] How to convert GObject into Clutter.Actor types?
- From: tomw <tomw ubilix com>
- To: vala-list gnome org
- Subject: [Vala] How to convert GObject into Clutter.Actor types?
- Date: Mon, 12 Sep 2011 18:03:34 +0200
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 `GLib.Object' to `Clutter.Actor?'
reading the documentation I have not found any obvious solution for
that.
Any help would be appreciated.
Thanks,
--
tomw <tomw ubilix com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]