Edje_message_queue_Group

Langue: en

Version: 379948 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Message_Queue -

These functions provide an abstraction layer between the application code and the interface, while allowing extremely flexible dynamic layouts and animations.

Functions


EAPI void edje_object_message_send (Evas_Object *obj, Edje_Message_Type type, int id, void *msg)
Send message to object.
EAPI void edje_object_message_handler_set (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj, Edje_Message_Type type, int id, void *msg), void *data)
Set the message handler function for this an object.
EAPI void edje_object_message_signal_process (Evas_Object *obj)
Process an object's message queue.
EAPI void edje_message_signal_process (void)
Process all queued up edje messages.

Detailed Description

These functions provide an abstraction layer between the application code and the interface, while allowing extremely flexible dynamic layouts and animations.

Function Documentation

EAPI 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.

EAPI void edje_object_message_handler_set (Evas_Object * obj, void(*)(void *data, Evas_Object *obj, Edje_Message_Type type, int id, void *msg) func, void * data)

Set the message handler function for this an object. Parameters:

obj The edje object reference.
func The function to handle messages.
data The data to be associated to the message handler.

This function associates a message handler function and data to the edje object.

EAPI void edje_object_message_send (Evas_Object * obj, Edje_Message_Type type, int id, void * msg)

Send message to object. Parameters:

obj The edje object reference.
type The type of message to send.
id A identification number for the message.
msg The message to be send.

This function sends messages to this object and to all of its child objects, if applicable. The function that handles messages arriving at this edje object is is set with edje_object_message_handler_set().

See also:

edje_object_message_handler_set()

References edje_object_message_send().

Referenced by edje_object_message_send().

EAPI void edje_object_message_signal_process (Evas_Object * obj)

Process an object's message queue. Parameters:

obj The edje object reference.

This function goes through the object message queue processing the pending messages for *this* specific edje object. Normally they'd be processed only at idle time.

Author

Generated automatically by Doxygen for Edje from the source code.