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 _Eina_List::data, ECORE_CALLBACK_CANCEL, ecore_job_add(), ecore_job_del(), 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, EINA_LIST_FOREACH, _Edje_Message_String::str, _Edje_Message_String_Int::str, _Edje_Message_String_Float::str, _Edje_Message_String_Int_Set::str, and _Edje_Message_String_Float_Set::str.