Etk
Main Page Object Hierarchy Data Structures Related Pages
Etk

etk_main.c File Reference


Detailed Description


Functions

int etk_init (int *argc, char ***argv)
 Initializes Etk. This function needs to be called before any other call to an etk_* function.
You can call safely etk_init() several times, it will only have an effect the first time you call it. The other times, it will just increment the init counter. etk_shutdown() will decrement this counter and will effectively shutdown Etk only when the counter reaches 0. So you need to call etk_shutdown() the same number of times you've called etk_init().
int etk_shutdown (void)
 Shuts down Etk. It decrements the init-counter. If the counter reaches 0, it frees all the resources used by Etk.
void etk_main (void)
 Runs the Etk's main loop until etk_main_quit() is called.
void etk_main_quit (void)
 Leaves the main loop of Etk. It will quit the main loop of Ecore (ecore_main_loop_quit()) and will make etk_main() return.
void etk_main_iterate (void)
 Runs an iteration of the main loop: it updates the widgets that need to be updated.