Object Method Interceptors

Evas provides a way to intercept method calls. More...

Functions

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

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
objThe given canvas object pointer.
funcThe given function to be the callback function.
dataThe data passed to the callback function.

This function sets a callback function to intercepts a hide event of a canvas object.

See Also
evas_object_intercept_hide_callback_del().
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
objThe given canvas object pointer.
funcThe given callback function.

This function sets a callback function to intercepts a hide event of a canvas object.

See Also
evas_object_intercept_hide_callback_add().
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
objThe given canvas object pointer.
funcThe given function to be the callback function.
dataThe data passed to the callback function.

This function sets a callback function to intercepts a move event of a canvas object.

See Also
evas_object_intercept_move_callback_del().
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
objThe given canvas object pointer.
funcThe given callback function.

This function sets a callback function to intercepts a move event of a canvas object.

See Also
evas_object_intercept_move_callback_add().
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
objThe given canvas object pointer.
funcThe given function to be the callback function.
dataThe data passed to the callback function.

This function sets a callback function to intercepts a show event of a canvas object.

See Also
evas_object_intercept_show_callback_del().
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
objThe given canvas object pointer.
funcThe given callback function.

This function sets a callback function to intercepts a show event of a canvas object.

See Also
evas_object_intercept_show_callback_add().