Its funny how things sometimes come to me right before I fall asleep at night or in the morning before I am completely awake. Things that seem obvious in retrospect.
It finally dawned on me that I can just load the object from the ClutterScript and create and add text actors to it as I am traversing my result set in code. So I guess pursuing this clutter script thing for my gui is doable. Although, I am still curious if anyone wants to express reservations about using ClutterScript. thnx On Thu, Jan 19, 2012 at 4:04 PM, Brian Duffy <[email protected]> wrote: > Hello again, > > I'm investigating ClutterScript because the Clutter Cookbook suggests that > there are numerous benefits to its use. Thus far, all my coding (not very > much) has been without it. Can anyone suggest any drawbacks to using > ClutterScript? > > After reading the introduction the first question that came to mind was; > What if I am populating a ClutterBox with some text actors, but I am using > a database to read a list of values that I need text actors for? Would I > have to dynamically generate the JSON code in my program? I noticed you can > load JSON from a string, but then how do you merge the generated code with > the external JSON file? > > thnx > > -- > Duff > -- Duff
_______________________________________________ clutter-app-devel-list mailing list [email protected] http://lists.clutter-project.org/listinfo/clutter-app-devel-list
