Am Sat, 5 Mar 2016 23:45:55 +0100 schrieb Andreas Volz: Ok, seems not possible or nobody knows.
Is there a good way to find out in my application code if a part is a external type or a text part? Should I use edje_edit_part_type_get() for this? I just like to change a text from a common API interface in my higher level API independent is it's a native Edje TEXT object or a elm/label. Another idea would be to do something like this (meta code) val = edje_object_part_external_object_get(...); if(!val) { // seems not to be an external edje_object_part_text_set(...); } else { // edje external, so access params // modify e.g label param of elm/label ... } > Hello, > > I use edje_object_part_external_param_set() to be able to modify all > params from a EXTERNAL type (here: elm/entry) in my application code. > Very flexible and nice. > > part { name: "Entry01"; > type: EXTERNAL; > source: "elm/entry"; > description { state: "default" 0; > rel1 { > offset: 139 120; > } > rel2 { > relative: 0 0; > offset: 299 436; > } > params { > string: "style" "default"; > string: "label" ""; > bool: "scrollable" "1"; > bool: "single line" "0"; > bool: "password" "0"; > bool: "horizontal bounce" "0"; > bool: "vertical bounce" "0"; > bool: "editable" "0"; > } > } > } > > I use mostly elm objects in my application, but also some internal > edje types like TEXT type. I can't use > edje_object_part_external_param_set() in this case to access the text > parameters like e.g. size. Ok, I could use > edje_object_part_text_set() at least to change the text, but that's > not the same. I like the generic param mechanism and I don't see how > to change e.g. size from my application. > > part { name: "Text01"; > type: TEXT; > mouse_events: 0; > description { state: "default" 0; > rel1 { > offset: 76 -102; > } > rel2 { > relative: 0 0; > offset: 226 130; > } > text { > text: "4:30 PM"; > font: "Arial:style=Fett"; > size: 10; > } > } > } > > Could you help me here? Maybe I didn't understood the concept at this > point. > > -- > Technical Blog <http://andreasvolz.wordpress.com/> > > ------------------------------------------------------------------------------ > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Technical Blog <http://andreasvolz.wordpress.com/> ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel