General


Functions

EAPI void elm_init (int argc, char **argv)
 Inititalise Elementary.
EAPI void elm_shutdown (void)
 Shut down Elementary.
EAPI void elm_run (void)
 Run the main loop.
EAPI void elm_exit (void)
 Exit the main loop.

Function Documentation

EAPI void elm_exit ( void   ) 

Exit the main loop.

If this call is called, it will flag the main loop to cease processing and return back to its parent function.

EAPI void elm_init ( int  argc,
char **  argv 
)

Inititalise Elementary.

This call is exported only for use by the ELM_MAIN() macro. There is no need to use this if you use this macro (which is highly advisable).

EAPI void elm_run ( void   ) 

Run the main loop.

This call should be called just after all initialization is complete. This function will not return until elm_exit() is called. It will keep looping running the main event/processing loop for Elementary.

EAPI void elm_shutdown ( void   ) 

Shut down Elementary.

This should be called at the end of your application just before it ceases to do any more processing. This will clean up any permanent resources your application may have allocated via Elementary that would otherwise persist on an exit without this call.