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

Reply via email to