Macros | |
#define | EO_EVENT_DESCRIPTION(name) { name, EINA_FALSE, EINA_FALSE } |
An helper macro to help populating Eo_Event_Description. More... | |
#define | EO_EVENT_DESCRIPTION_HOT(name) { name, EINA_TRUE, EINA_FALSE } |
An helper macro to help populating Eo_Event_Description and make the event impossible to freeze. More... | |
#define | EO_CALLBACK_PRIORITY_BEFORE -100 |
Slightly more prioritized than default. | |
#define | EO_CALLBACK_PRIORITY_DEFAULT 0 |
Default callback priority level. | |
#define | EO_CALLBACK_PRIORITY_AFTER 100 |
Slightly less prioritized than default. | |
#define | EO_CALLBACK_STOP EINA_FALSE |
Stop calling callbacks for the even of which the callback was called for. More... | |
#define | EO_CALLBACK_CONTINUE EINA_TRUE |
Continue calling callbacks for the even of which the callback was called for. More... | |
#define | EO_CALLBACKS_ARRAY_DEFINE(Name, ...) |
Helper for creating global callback arrays. More... | |
#define | eo_event_callback_add(desc, cb, data) |
Add a callback for an event. More... | |
#define | eo_event_callback_array_add(array, data) |
Add a callback array for an event. More... | |
Functions | |
EAPI const Eo_Event_Description * | eo_base_legacy_only_event_description_get (const char *_event_name) |
Don't use. More... | |
#define EO_EVENT_DESCRIPTION | ( | name | ) | { name, EINA_FALSE, EINA_FALSE } |
An helper macro to help populating Eo_Event_Description.
name | The name of the event. |
#define EO_EVENT_DESCRIPTION_HOT | ( | name | ) | { name, EINA_TRUE, EINA_FALSE } |
An helper macro to help populating Eo_Event_Description and make the event impossible to freeze.
name | The name of the event. |
#define EO_CALLBACK_STOP EINA_FALSE |
Stop calling callbacks for the even of which the callback was called for.
#define EO_CALLBACK_CONTINUE EINA_TRUE |
Continue calling callbacks for the even of which the callback was called for.
#define EO_CALLBACKS_ARRAY_DEFINE | ( | Name, | |
... | |||
) |
Helper for creating global callback arrays.
The problem is on windows where you can't declare a static array with external symbols in it, because the addresses are only known at runtime.
#define eo_event_callback_add | ( | desc, | |
cb, | |||
data | |||
) |
Add a callback for an event.
[in] | desc | The description of the event to listen to. |
[in] | cb | the callback to call. |
[in] | data | additional data to pass to the callback. |
callbacks of the same priority are called in reverse order of creation.
#define eo_event_callback_array_add | ( | array, | |
data | |||
) |
Add a callback array for an event.
[in] | array | an Eo_Callback_Array_Item of events to listen to. |
[in] | data | additional data to pass to the callback. |
callbacks of the same priority are called in reverse order of creation.
Referenced by ecore_con_url_new().
EAPI const Eo_Event_Description* eo_base_legacy_only_event_description_get | ( | const char * | _event_name | ) |
Don't use.
The values of the returned event structure are also internal, don't assume anything about them.
References eina_hash_add(), eina_hash_find(), eina_stringshare_add(), eina_stringshare_del(), EINA_TRUE, and _Eo_Event_Description::legacy_is.
Referenced by evas_object_smart_callback_call(), evas_object_smart_callback_del(), evas_object_smart_callback_del_full(), and evas_object_smart_callback_priority_add().