Macros | |
#define | EO_EVENT_DESCRIPTION(name) { name, EINA_FALSE, 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, EINA_FALSE } |
An helper macro to help populating #Eo_Event_Description and make the event impossible to freeze. More... | |
#define | EO_EVENT_DESCRIPTION_RESTART(name) { name, EINA_FALSE, EINA_FALSE, EINA_TRUE } |
#define | EO_EVENT_DESCRIPTION_HOT_RESTART(name) { name, EINA_TRUE, EINA_FALSE, EINA_TRUE } |
#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_CALLBACKS_ARRAY_DEFINE(Name, ...) |
Helper for creating global callback arrays. More... | |
#define | eo_event_callback_add(obj, desc, cb, data) |
Add a callback for an event. More... | |
#define | eo_event_callback_array_add(obj, 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, 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, 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_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.
Referenced by ecore_timer_precision_set().
#define eo_event_callback_add | ( | obj, | |
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.
Referenced by elm_fileselector_folder_only_get(), elm_quicklaunch_fork(), elm_store_target_genlist_set(), elm_win_floating_mode_get(), eo_base_legacy_only_event_description_get(), evas_device_add(), and evas_textblock_text_utf8_to_markup().
#define eo_event_callback_array_add | ( | obj, | |
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_timer_add(), and ecore_timer_loop_add().
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 DBG, _Eo_Event::desc, EINA_FALSE, eina_hash_add(), eina_hash_find(), EINA_INLIST_FOREACH, EINA_INLIST_GET, eina_inlist_prepend(), eina_inlist_remove(), EINA_LIST_FOREACH, eina_list_prepend(), eina_list_remove(), eina_stringshare_add(), eina_stringshare_del(), EINA_TRUE, EINA_UNLIKELY, eo_data_scope_get(), eo_event_callback_add, ERR, _Eo_Callback_Array_Item::func, _Eo_Event::info, _Eo_Event_Description::legacy_is, _Eo_Event_Description::restart, and _Eo_Event_Description::unfreezable.
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().