On 9/1/07, Marijn van Vliet <[EMAIL PROTECTED]> wrote:
> While reading the documentation on Edje, I was instantly excited. True
> seperation of programming code and interface design, all in a clean and
> simple way. Then I went on and read about the EWL libary, build on top of
> Edje. And all the Edje goodness was gone. In order to have prewritten
> textboxes, suddenly I have to write C code again, just like I would with
> any other toolkit. Is there a way to layout EWL Widgets just like I would
> rectangles and images with Edje? Something like:
>
> part {
> name, "Some_random_textbox";
> type, TEXTBOX;
> mouse_events, 1;
>
> description {
> rel1 ...
> rel2 ...
> }
> }
> ...
> program {
> name, "text_altered";
> signal, "text_altered";
> source, "Some_random_textbox";
> action, SIGNAL_EMIT "hello" "world";
> }
>
> .. oh well, you get the point.
>
>
> Kind regards to the great people who though of Edje!
>
Have a look at Evolve in cvs. It does what you want but uses Etk
instead of Ewl. You can do something like:
widget
{
type: "window";
name: "main_window";
title: "Evolve";
show_all: 1;
}
widget
{
type: "notebook";
name: "main_notebook";
parent: "main_window";
}
...
widget
{
type: "button";
name: "...;
parent: "...;
label: "Button with an image";
}
and you can also have Edje code right in there like:
edje
{
#include "edje_code.edc"
}
where edje_code.edc is the normal Edje syntax you are used to.
You can use Evolve to integrate Edje with Etk to either theme custom
Etk apps using Edje, create Edje apps with Etk widgets, or if you
simply want to avoid writing C code to create your Etk application.
Some screenshots here:
http://hisham.cc/files/modular9_main_eq_list2.png
http://www.flickr.com/photos/[EMAIL PROTECTED]/580107290/
http://www.flickr.com/photos/[EMAIL PROTECTED]/580430095/
http://www.flickr.com/photos/[EMAIL PROTECTED]/580430191/
http://www.flickr.com/photos/[EMAIL PROTECTED]/580430171/
You might notice some of those screenshots have show you Evolve
builder, its a gui that allows you to build your Evolve files without
having to manually write them (work in progress).
For a small introduction about Evolve, look here:
http://hisham.cc/articles/2007/05/30/evolve-introduction
Hope this helps.
--
Hisham Mardam Bey
http://hisham.cc/
+9613609386
Codito Ergo Sum (I Code Therefore I Am)
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel