wiki:ExamplesEmodules

Version 2 (modified by Thanatermesis, 15 years ago) ( diff )

--

Examples of Codes for Emodules

This page includes some Tips and Tricks for coding Enlightenment 17 modules, you can found here a lot of chunks of examples of nice and useful things

You can consider this page as a kind of fast reference for E17 modules

Chunks of codes

Modules

Load, enable, disable, etc. an e17 module

E_Module *m;
e_module_find("dropshadow");
if (dropshadow)
   e_module_enable(dropshadow);

E17 Actions

Send an e17 action (ex. restart e17)

E_Action *a;
a = e_action_find("restart");
if ((a) && (a->func.go))
   a->func.go(NULL, NULL);

Note: See TracWiki for help on using the wiki.