On Friday, October 15, 2010, Christopher Michael <[email protected]> wrote: > On 10/15/2010 01:00 PM, Gustavo Sverzut Barbieri wrote: > > On Friday, October 15, 2010, Christopher Michael<[email protected]> > wrote: > > On 10/15/2010 12:51 PM, Gustavo Sverzut Barbieri wrote: > > On Friday, October 15, 2010, Christopher Michael<[email protected]> > wrote: > > On 10/15/2010 12:11 PM, Gustavo Sverzut Barbieri wrote: > > On Friday, October 15, 2010, Enlightenment SVN > <[email protected]> wrote: > > Log: > Update emote to build w/ current elm. > Move main toolbar to the top. > Use a 'toolbar' for channels at the bottom. > Change init functions to use Eina_Bool. > Disable lots of debug output in the emote irc protocol. > Fix some formatting. > > > Dh, we added standard layout to default.edc, please use them whenever > possible or add more if you foresee a common use case. See ephoto. It > will make your life easier and your app more theme friendly > > > > Doesn't that standard layout stuff use 'external' tho ?? > > > > Just do it (Nike style) > > Why do you have to know if externals are used? > > > > Because I was curious ... it's a simple question requiring only a simple > answer :P I was curious because I am not real fond of the 'externals' stuff. > > > > Yes it use. You should start to consider externals as it is the way to > go for edje+elm. Just think about someone that says "I dislike edje > and I'll create everything in c" or "I hate c and will write > everything in assembly". These are all abstractions to make your life > easier. > > > > Which is fine. I have no problem with life being 'easier' ;) but .. > perhaps you can shed some light on something for me. > > If externals are used in an edje file (let's just say something like the > example external_emotion_elm.edc), where do those 'external' widgets come > from ? If I use a part type: EXTERNAL with source: elm/button (just as an > example), how does edje know to get that part from elm ? and how does that > work wrt elm itself ? My understanding is that an elm_button would need the > elm main loop running...and if that is the case, what happens when there are > multiple elm externals being used ? Is that causing more than one elm main > loop ?? ... Lots of questions wrt externals, and very little docs for it :(
I'm at a phone and can't type much look at photo or examples davemds is writing. The very rough summary is: external = automatic sallow. In ur example elm_button_add() is called with the first elm_widget parent (auto discovered), then swallow-like code is executed in edje. Nothing related to main loop is changed, they all share the same ecore_main_loop > dh > > -- > "If C gives you enough rope to hang yourself, then C++ gives you enough rope > to bind and gag your neighborhood, rig the sails on a small ship, and still > have enough rope to hang yourself from the yardarm" > - Anonymous quote from the The UNIX-HATERS Handbook > -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: [email protected] Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
