2011/5/1 Quentin Gibeaux <[email protected]> > Hello everyone >
Hi guys ! > > We're still working on making e17 modules, and have progressed a little bit > ; for those who didn't have our previous mails here is a short presentation > of our situation : > > We are two french students working on e17 modules. > We have three projects : include the elementary clock into a module, create > a module that loads an image on a regular basis and displays it (from an > internet server or from the computer) and finally a module enabeling us to > mount and unmount encrypted volules. > > We made our first steps into the module configuration and we learned how to > basically use the edc file (we made our little "Hello world" module, very > proud). > We are currently experiencing two difficulties : > -Can we use an absolute path to search images and to load it dynamically > into the module (without having to restart it or enlightenment)? Currently, > we only see how to import images from the images directory (like skel > does). > I don't know what you want to do exactly, but if you want to load images from the C code, you need to use evas_object_image or one of the API used in E itself, like e_icon_add (or something like that), when you had create this object, you can swallow it inside the Edje file > -On which Evas_object could we use the "elm_clock_add" function in order to > have the elementary clock to displays in the module? We tried the one into > the Instance struct (it makes e17 crash at every reload) or in the > E_Gadcon_Client into the Instance (it does nothing). So we are kinda stuck, > especially because we don't really have a clue of what are these objects > doing precisely (noobies spotted !). > I'm doing that in the Elfe module [1],you can look at the source code to see how todo, you need to initialize elementary first, and then u can use elm_xxx_add. But it's you need to do that there is some elm stuff that doesn't work inside E. For example you can create an elm window, for that you need to use E's API. > > We would be most grateful for any help you could provide (doc we haven't > noticed, module that does this kind of staff, etc.). > > I invite you to join us on the IRC channels (#e.fr or #edevelop) for more help. And you should look at the french Edje tutorial i'm currently writting [2] [1] http://trac.enlightenment.org/e/browser/trunk/E-MODULES-EXTRA/elfe [2] http://trac.enlightenment.org/e/browser/trunk/DOCS/tutorials/fr/edje -- Nicolas Aguirre Mail: [email protected] Web: http://enna.geexbox.org Blog: http://dev.enlightenment.fr/~captainigloo/ ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
