ecore_event_example_01.c
This example shows how to create an event handler. Explanation: Handling events example
/*
* Compile with:
* gcc -g -Wall `pkg-config --cflags --libs ecore` -o ecore_event_example ecore_event_example.c
*/
#include <Ecore.h>
static Eina_Bool
_quitter(void *data, int ev_type, void *event)
{
printf("Leaving already?\n");
}
int
main(int argc, char **argv)
{
ecore_init();
return 0;
}