On Wed, Mar 21, 2012 at 6:30 PM, Andreas Volz <li...@brachttal.net> wrote:
> Hi, > > Hi. > I've some special widgets which I couldn't assemble from other existing > widgets (rotary). So I like to create a new one. Could you tell me the > way how to do this? > > Should I create a new one in elementary/src/lib/ (I won't commit it > without permission!) or is there some elementary-extras library in > PROTO? Or should I create a private lib on top of elementary for my > special widgets? > > No. Just create it inside your application's code. Just include elm_widget.h, define ELM_INTERNAL_API_ARGESFSDFEFC so it won't bitch at you, and use the elm_widget_* api to assemble it, just like the other ones. After my work gets merged, that will change, be warned. > Could someone explain me a difference between elm_*.c, elc_*.c, elu_*.c > and els_*.c. Is this documented somewhere? I'm not sure which one to > take as template for my new widget. > > elm_* are, say, base widgets. elc_* are composed widgets (ones aggregating others). Don't bother with elu_* stuff. Right now you won't be able to extend widgets behavior (except for composing them, like the elc_* stuff), but after my work gets in this will be straighforward and the way to go. > regards > Andreas > > -- > Technical Blog <http://andreasvolz.wordpress.com/> > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Gustavo Lima Chaves Senior Developer ProFUSION embedded systems http://profusion.mobi ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel