Functions that deal with signals. More...
Typedefs | |
typedef void(* | Efl_Signal_Cb) (void *data, Evas_Object *obj, const char *emission, const char *source) |
Edje signal callback functions's prototype definition. More... | |
typedef Efl_Signal_Cb | Edje_Signal_Cb |
Functions | |
void * | edje_object_signal_callback_extra_data_get (void) |
Gets extra data passed to callbacks. More... | |
void * | edje_object_signal_callback_seat_data_get (void) |
Gets seat data passed to callbacks. More... | |
Functions that deal with signals.
Edje has two communication interfaces between code and theme. Signals and messages.
This group has functions that deal with signals. One can either emit a signal from code to a theme or create handles for the ones emitted from themes. Signals are identified by strings.
typedef void(* Efl_Signal_Cb) (void *data, Evas_Object *obj, const char *emission, const char *source) |
Edje signal 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 signal comes from. emission
will identify the exact signal's emission string and source
the exact signal's source one.
void * edje_object_signal_callback_extra_data_get | ( | void | ) |
Gets extra data passed to callbacks.
Some callbacks pass extra information. This function gives access to that extra information. It's somehow like event_info in smart callbacks.
void * edje_object_signal_callback_seat_data_get | ( | void | ) |
Gets seat data passed to callbacks.
When a callback is initiated by an input event from a seat, we try to provide seat information with it.
Signals fired as programmed responses to these signals will also try to carry the seat data along.
This returns an opaque pointer to the seat data.