On Wed, Nov 17, 2010 at 10:26 PM, Andreas Volz <[email protected]> wrote: > Am Thu, 18 Nov 2010 08:40:48 +0900 schrieb Carsten Haitzler (The > Rasterman): > >> > > error message should says eo == NULL. >> > >> > Maybe I don't understand this comment. But eo isn't NULL for sure. >> > In each case eo is correct as edje_object_part_text_set works >> > correct with this eo if I remove the comments. >> > >> > regards >> > Andreas >> >> it has to be an external part - not a text one for it to work. i >> smell that you have a text part there as "Test_Example" and think u >> can just change text value via params too. > > Yes, for sure. It's a text part. From the answer of another thread I > assumed it would work: > > Quote: > ------- > Von: Gustavo Sverzut Barbieri <[email protected]> > An: Andreas Volz <[email protected]> > Cc: [email protected] > Betreff: Re: [E-devel] Edje build-in types access as external? > Datum: Wed, 13 Oct 2010 17:54:24 -0300 > >> > - design an Edje API which access build-in types just with >> > param_set/get like external types? >> >> well, there is no reason to use external to add a rectangle there... >> or another edje group as these are native types (type: RECT, type: >> GROUP...) >> >> but the parameters that should be user-controllable like text's >> string, are already supported by the same api. just set a type=string, >> name=text, value=whateveryouwant and the text/textblock will change >> their text value. However this is restricted to the allowed >> properties, I don't recall any other than text value :-) > > So is this true or not? > > It would be nice to access params from build in types the same way. > Currently my application framework has a generic data model API. I just > reference widgets in an edje by name and set params to modify them in > my application. > > But if there's no param access for internal types I've to hide this > fact and simulate a property API like with param_set/get. Would be nice > to have it in the edje API.
Although I did it, my memory is known to be really bad. So look at the code. It shouldn't be hard to expose that the way you want. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: [email protected] Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
