Functions that deal with messages. More...
Typedefs | |
typedef struct _Edje_Message_String | Edje_Message_String |
typedef struct _Edje_Message_Int | Edje_Message_Int |
typedef struct _Edje_Message_Float | Edje_Message_Float |
typedef struct _Edje_Message_String_Set | Edje_Message_String_Set |
typedef struct _Edje_Message_Int_Set | Edje_Message_Int_Set |
typedef struct _Edje_Message_Float_Set | Edje_Message_Float_Set |
typedef struct _Edje_Message_String_Int | Edje_Message_String_Int |
typedef struct _Edje_Message_String_Float | Edje_Message_String_Float |
typedef struct _Edje_Message_String_Int_Set | Edje_Message_String_Int_Set |
typedef struct _Edje_Message_String_Float_Set | Edje_Message_String_Float_Set |
typedef void(* | Edje_Message_Handler_Cb) (void *data, Evas_Object *obj, Edje_Message_Type type, int id, void *msg) |
Edje message handler callback functions's prototype definition. More... | |
Functions | |
void | edje_message_signal_process (void) |
Process all queued up edje messages. More... | |
Functions that deal with messages.
Edje has two communication interfaces between code and theme. Signals and messages.
Edje messages are one of the communication interfaces between code and a given Edje object's theme. With messages, one can communicate values like strings, float numbers and integer numbers. Moreover, messages can be identified by integer numbers. See Edje_Message_Type for the full list of message types.
typedef void(* Edje_Message_Handler_Cb) (void *data, Evas_Object *obj, Edje_Message_Type type, int id, void *msg) |
Edje message handler callback functions's prototype definition.
data
will have the auxiliary data pointer set at the time the callback registration. obj
will be a pointer the Edje object where the message comes from. type
will identify the type of the given message and msg
will be a pointer the message's contents, de facto, which depend on type
.
void edje_message_signal_process | ( | void | ) |
Process all queued up edje messages.
This function triggers the processing of messages addressed to any (alive) edje objects.
References _Edje_Message_String_Set::count, _Edje_Message_Int_Set::count, _Edje_Message_Float_Set::count, _Edje_Message_String_Int_Set::count, _Edje_Message_String_Float_Set::count, _Eina_List::data, ECORE_CALLBACK_CANCEL, ecore_job_add(), ecore_job_del(), ecore_timer_add(), ecore_timer_del(), EDJE_MESSAGE_FLOAT, EDJE_MESSAGE_FLOAT_SET, EDJE_MESSAGE_INT, EDJE_MESSAGE_INT_SET, EDJE_MESSAGE_STRING, EDJE_MESSAGE_STRING_FLOAT, EDJE_MESSAGE_STRING_FLOAT_SET, EDJE_MESSAGE_STRING_INT, EDJE_MESSAGE_STRING_INT_SET, EDJE_MESSAGE_STRING_SET, EINA_FALSE, eina_list_append(), eina_list_data_get(), EINA_LIST_FOREACH, eina_list_next(), eina_list_remove_list(), eina_stringshare_add(), eina_stringshare_del(), embryo_error_string_get(), EMBRYO_FLOAT_TO_CELL, EMBRYO_FUNCTION_NONE, embryo_parameter_cell_array_push(), embryo_parameter_string_push(), embryo_program_data_get(), embryo_program_error_get(), embryo_program_function_find(), embryo_program_max_cycle_run_get(), embryo_program_max_cycle_run_set(), embryo_program_run(), embryo_program_vm_pop(), embryo_program_vm_push(), ERR, _Edje_Message_String::str, _Edje_Message_String_Set::str, _Edje_Message_String_Int::str, _Edje_Message_String_Float::str, _Edje_Message_String_Int_Set::str, _Edje_Message_String_Float_Set::str, _Edje_Message_Int::val, _Edje_Message_Float::val, _Edje_Message_Int_Set::val, _Edje_Message_Float_Set::val, _Edje_Message_String_Int::val, _Edje_Message_String_Float::val, _Edje_Message_String_Int_Set::val, _Edje_Message_String_Float_Set::val, and WRN.