Hi all,

lot's of words in that thread, I'll add my practical one

you can do it all without edje,
but it is a nice way to separate the gui from the application logic.

using edje + edje_player also allows you to easily test you layout,
using bg colors maybe to differenciate the parts,
and send signals to your edj to test your edje programms.
have a look at this nice blog page :
http://brunodilly.org/blog/debugging-edje-themes-edc-edje-player/

if you wonder about swallows, look ie. at the popup widget edc and doc

http://git.enlightenment.org/core/elementary.git/tree/data/themes/edc/elm/popup.edc
(heavy I concede )
http://docs.enlightenment.org/stable/elementary/group__Popup.html

it defines parts of type SWALLOW, so that you can:
build your content with elm/evas and swallow it in the default part using:
    elm_object_content_set(popup, my_object);
or swallow an object in a specific part:
    elm_object_part_content_set(popup, "button3", btn);
or set a text:
    elm_object_part_text_set(popup, "title,text", "Error");
or disable an part:
    part = edje_object_part_object_get(edj, "button3");
    elm_object_disabled_set(part, disabled);
same using signals:
    part = edje_object_part_object_get(edj, "button3");
    elm_object_signal_emit(btn, "elm,state,disabled", "elm");

or you can build a content using edc files, load it using:
    layout = elm_layout_add(parent_object);
    elm_layout_file_set(layout, edje_file_path, group_name);

then swallow it in another swallow part of another layout/widget.
using the technics above.

these are mainly elementary based examples,
it's basicaly enhanced wrappers around edje/evas functions.

you'll find a lot of good stuff in
http://git.enlightenment.org/devs/seoz/samples.git/tree/
or a single one in my WIP app skeleton
http://git.enlightenment.org/devs/jeyzu/skeletons.git/tree/elm-skel

don't forget about clouseau too
http://git.enlightenment.org/tools/clouseau.git/tree/README

hope it clarifies a little bit and shows you that material exists
and does help you.

--- Hell'O from Yverdoom

Jérémy (jeyzu)

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to