Evas provides a way to intercept method calls. More...
Functions | |
EAPI void | evas_object_intercept_show_callback_add (Evas_Object *obj, Evas_Object_Intercept_Show_Cb func, const void *data) |
Set the callback function that intercepts a show event of a object. More... | |
EAPI void * | evas_object_intercept_show_callback_del (Evas_Object *obj, Evas_Object_Intercept_Show_Cb func) |
Unset the callback function that intercepts a show event of a object. More... | |
EAPI void | evas_object_intercept_hide_callback_add (Evas_Object *obj, Evas_Object_Intercept_Hide_Cb func, const void *data) |
Set the callback function that intercepts a hide event of a object. More... | |
EAPI void * | evas_object_intercept_hide_callback_del (Evas_Object *obj, Evas_Object_Intercept_Hide_Cb func) |
Unset the callback function that intercepts a hide event of a object. More... | |
EAPI void | evas_object_intercept_move_callback_add (Evas_Object *obj, Evas_Object_Intercept_Move_Cb func, const void *data) |
Set the callback function that intercepts a move event of a object. More... | |
EAPI void * | evas_object_intercept_move_callback_del (Evas_Object *obj, Evas_Object_Intercept_Move_Cb func) |
Unset the callback function that intercepts a move event of a object. More... | |
Detailed Description
Evas provides a way to intercept method calls.
The interceptor callback may opt to completely deny the call, or may check and change the parameters before continuing. The continuation of an intercepted call is done by calling the intercepted call again, from inside the interceptor callback.
Function Documentation
EAPI void evas_object_intercept_hide_callback_add | ( | Evas_Object * | obj, |
Evas_Object_Intercept_Hide_Cb | func, | ||
const void * | data | ||
) |
Set the callback function that intercepts a hide event of a object.
- Parameters
-
obj The given canvas object pointer. func The given function to be the callback function. data The data passed to the callback function.
This function sets a callback function to intercepts a hide event of a canvas object.
EAPI void* evas_object_intercept_hide_callback_del | ( | Evas_Object * | obj, |
Evas_Object_Intercept_Hide_Cb | func | ||
) |
Unset the callback function that intercepts a hide event of a object.
- Parameters
-
obj The given canvas object pointer. func The given callback function.
This function sets a callback function to intercepts a hide event of a canvas object.
EAPI void evas_object_intercept_move_callback_add | ( | Evas_Object * | obj, |
Evas_Object_Intercept_Move_Cb | func, | ||
const void * | data | ||
) |
Set the callback function that intercepts a move event of a object.
- Parameters
-
obj The given canvas object pointer. func The given function to be the callback function. data The data passed to the callback function.
This function sets a callback function to intercepts a move event of a canvas object.
EAPI void* evas_object_intercept_move_callback_del | ( | Evas_Object * | obj, |
Evas_Object_Intercept_Move_Cb | func | ||
) |
Unset the callback function that intercepts a move event of a object.
- Parameters
-
obj The given canvas object pointer. func The given callback function.
This function sets a callback function to intercepts a move event of a canvas object.
EAPI void evas_object_intercept_show_callback_add | ( | Evas_Object * | obj, |
Evas_Object_Intercept_Show_Cb | func, | ||
const void * | data | ||
) |
Set the callback function that intercepts a show event of a object.
- Parameters
-
obj The given canvas object pointer. func The given function to be the callback function. data The data passed to the callback function.
This function sets a callback function to intercepts a show event of a canvas object.
EAPI void* evas_object_intercept_show_callback_del | ( | Evas_Object * | obj, |
Evas_Object_Intercept_Show_Cb | func | ||
) |
Unset the callback function that intercepts a show event of a object.
- Parameters
-
obj The given canvas object pointer. func The given callback function.
This function sets a callback function to intercepts a show event of a canvas object.