hi
I have two groups in same edc file. one group is having a swallow part and other group is having a box and items. And one of the item is using the other group to display the swallow part. So my question is how to add an entry into this swallow part from code? I tried to add it but not able to see it. rest everything is visible.
group { name: "fb_login_entry"; parts { part { name: "fb_login_user"; type: SWALLOW; //source: "elm/entry"; scale: 1; description { state: "default" 0.0; fixed: 1 1; rel1 { relative: 0.0 0.0; offset: 0 20; } rel2 { relative: 1.0 0.3; offset: -1 -20; } color: 255 0 255 200; visible : 1; } } } } group { name: "login_screen"; parts { part { name: "ex_box"; type: BOX; mouse_events: 1; box { items { item { type: GROUP; name: "itm_fb_icon"; source: "fb_icon"; } item { type: GROUP; name: "itm_spacer"; source: "spacer"; min: 240 125; max: 240 125; } item { type: GROUP; name: "itm_login"; source: "fb_login_entry"; min: 250 200; max: 250 200; } ..... } mLayout = elm_layout_add(parent); evas_object_size_hint_weight_set(mLayout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_align_set(mLayout, EVAS_HINT_FILL, EVAS_HINT_FILL); elm_layout_file_set(mLayout, mApp->mEdjPath, "login_screen"); elm_object_content_set(parent, mLayout); evas_object_show(mLayout); Evas_Object* login = create_singleline_editfield_layout(mLayout); elm_object_part_content_set(mLayout, "fb_login_user" , login); evas_object_show(login);