Changes between Initial Version and Version 1 of ExamplesEmodules


Ignore:
Timestamp:
Oct 20, 2009, 2:08:07 PM (15 years ago)
Author:
Thanatermesis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ExamplesEmodules

    v1 v1  
     1= Examples of Codes for Emodules =
     2
     3This 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
     4
     5You can consider this page as a kind of fast reference for E17 modules
     6
     7
     8== Chunks of codes ==
     9
     10=== Modules ===
     11Load, enable, disable, etc. an e17 module
     12{{{
     13#!C
     14E_Module *m;
     15e_module_find("dropshadow");
     16if (dropshadow)
     17   e_module_enable(dropshadow);
     18}}}
     19
     20
     21=== E17 Actions ===
     22Send an e17 action (ex. restart e17)
     23{{{
     24#!C
     25E_Action *a;
     26a = e_action_find("restart");
     27if ((a) && (a->func.go))
     28   a->func.go(NULL, NULL);
     29}}}
     30
     31
     32=== ===
     33
     34{{{
     35#!C
     36
     37}}}
     38
     39
     40=== ===
     41
     42{{{
     43#!C
     44
     45}}}
     46
     47
     48=== ===
     49
     50{{{
     51#!C
     52
     53}}}
     54
     55
     56=== ===
     57
     58{{{
     59#!C
     60
     61}}}
     62
     63
     64=== ===
     65
     66{{{
     67#!C
     68
     69}}}
     70