Hi,
This is interesting, but I thought the same as Marijn when I first saw EWL/ETK.
I had an idea about providing some kind of
plugin system for edje, where you can create custom types. I was more thinking
of something like :
part {
name, "my_entry";
type, ETK_ENTRY;
mouse_event, 1;
...
}
part {
name, "my_combobox";
type, EWL_COMBOBOX;
...
}
and those parts would listen by default to some signals so you can interact
with them (like a SIGNAL_EMIT "appen_item" "first
choice"; for the combobox, etc...).
Evolve looks really nice, but unfortunately, it's about learning yet another E
library, and using yet another library, and a
new syntax, and you're stuck with just ETK, etc...
With the proposal above, it would also help us build custom widgets, so for
example, you write a group to represent something,
and in any other group you could do for example :
part {
name, "my_custom_widget";
type, GROUP;
...
group {
name, "name_of_another_group";
}
}
It would be very helpful.
Hisham, maybe you should write some page with the listing of all the ETK
related projects (etk, evolve, any other?) and show
the %age of completion.. evolve seems to be beta (from the README file), but
how much beta is it? can it be used safely? etc...
I hope this will proposition will be taking into consideration, as it will
greatly enhance edje programming.
KaKaRoTo
On Sat, Sep 01, 2007 at 08:03:55PM +0300, Hisham Mardam Bey wrote:
> 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
-------------------------------------------------------------------------
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