On Fri, Nov 30, 2012 at 1:01 PM, David Seikel <onef...@gmail.com> wrote: > On Fri, 30 Nov 2012 12:47:08 -0200 Gustavo Lima Chaves > <gl...@profusion.mobi> wrote: > >> We have been working on a widget that will aid a lot on the >> implementation of preferences/configuration windows and UI elements in >> Elementary-based applications, and we do think that the code is mature >> enough to be presented to the community now. >> >> Prefs is a widget that populates its view with widgets >> bound to data types (following the instructions of a ".epb" file that >> describes a set of items) and handles the storage/restoration of such >> data on a configuration file automatically. >> >> The ".epb" file is similar to a ".edj" file and is created by a tool >> named "elm_prefs_cc" (based on edje_cc) that receives a ".epc" file as >> input (similar to a ".edc" file). > > I'm wondering why not just extend edje, rather than duplicate most of > it? > > Note I've not looked at it. Past my bed time.
It's completely different as we're looking at widgets rather than generic evas objects, and associating widgets with data, persisting these data, etc. While Edje indeeds allow type: EXTERNAL to load widgets, the data association and specification is completely absent. Then it makes more sense to have this in Elementary, the provider of the widgets we use and it already does external module load, etc. We were heavily inspired by Edje, but just used the concepts that made sense to us, then focus on data interaction and validation (strings can be easily validated with regxep to accept/deny), but we do not ship with states/transition as it's not required. Take a look at it later, it will load and save data automatically (if you have autosave=true), show the widgets, add labels even if the widget itself doesn't do it, add icons, many nice features. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: TUNE You got it built. Now make it sing. Tune shows you how. http://goparallel.sourceforge.net _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel