|
Edgar
E17 Module to load Gadgets
Featured E17 Edgar Gadgets LoaderThis is the E17 module that load and manage simple edje file (called Gadgets). How it worksThe module don't need configurations, simply enable it from the enlightenment module config dialog. Once loaded the module will monitor at two directories: ~/.e/e/gadgets and <e_prefix>/share/enlightenment/data/gadgets. The first (the user gadgets directory) take precedence. All the edje file found in those directories will be exposed as they was native E17 modules. So you can put your edje files (Gadgets) on your E17 desktop or in a shelf, like they was normal modules. The Protocol (or the API)You can use any existing edje file as a gadget, but if you want some kind of control over the gadget you must follow the following spec. How to write a GadgetThe best way to start writing your own gadget is to start from the skeleton gadget, it's the Ruler (HalloWorld). Get it and start editing, there are a simple Makefile in the source, just change the name of the gadget there. Then you can use make, make install and make clean to generate your gadget. The Ruler EDC file is full of documentation and all the Edgar functions are explained there. You can see the ruler.edc and ruler.embryo files online directly from cvs :) Downloadsvn checkout http://e17mods.googlecode.com/svn/trunk/MODULES/edgar InstallTo compile and install the module use the usual: ./autogen make sudo make install TODO
|
hello is there any body outthere