Emmanuele Bassi wrote:
nope, you can't.
ClutterScript does not special-case strings and we cannot get random
user data since it would imply pointer handling.
the way User Interface definition files work in similar contexts
(GtkBuilder and libglade, which are the "prior art" for ClutterScript in
terms of API and feature set) is to create an application structure,
fill it up with relevant objects created using ClutterScript through
clutter_script_get_objects() and then pass it to
clutter_script_connect_signals().
Was thinking I might create a separate json source that details the
relationships I was after, where the "id" values are used and I could
then use clutter_script_get_object to get the actual ClutterActor
Just playing around with a few ideas, I may not even need this at all.
--
Glen Gray <[email protected]> Digital Depot, Thomas Street
Software Engineering Manager Dublin 8, Ireland
Lincor Solutions Ltd. Ph: +353 (0) 1 4893682
--
To unsubscribe send a mail to [email protected]