On Wed, Oct 13, 2010 at 5:40 PM, Andreas Volz <[email protected]> wrote:
> Hello,
>
> I just discovered how to access external objects (e.g. Elementary) with
> edje_object_part_external_param_get/edje_object_part_external_param_set.
>
> In my application I like to build a generic model interface to access
> my edje widgets from another application layer.
>
> It's not hard to put the Edje external objects into my applications
> design as I could access the params very easy with a common interface.
> But for build-in types it's not the same way. I have to custom wrap
> this in a model interface to fit my application design.
>
> Don't you think it would be a nice idea to...
>
> - implement the Edje build-in types as externals and not longer as
>  build-in types?
>
> - 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 :-)

-- 
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/beautyoftheweb
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to