Tizen Native API  5.5
Object Method Interceptors

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.


Typedef Documentation

typedef void(* Evas_Object_Intercept_Clip_Set_Cb)(void *data, Evas_Object *obj, Evas_Object *clip)

Function signature for the clip set event of an evas object

Parameters:
datathe pointer passed through the callback.
objthe object being clipped
clipthe evas object on which the object is clipped
See also:
evas_object_intercept_clip_set_callback_add()
evas_object_intercept_clip_set_callback_del()
typedef void(* Evas_Object_Intercept_Clip_Unset_Cb)(void *data, Evas_Object *obj)

Function signature for the clip unset event of an evas object

Parameters:
datathe pointer passed through the callback.
objthe object being unclipped
See also:
evas_object_intercept_clip_unset_callback_add()
evas_object_intercept_clip_unset_callback_del()
typedef void(* Evas_Object_Intercept_Color_Set_Cb)(void *data, Evas_Object *obj, int r, int g, int b, int a)

Function signature for the color set event of an evas object

Parameters:
datathe pointer passed through the callback.
objthe object changing color
rthe red component of the color
gthe green component of the color
bthe blue component of the color
athe alpha component of the color
See also:
evas_object_intercept_color_set_callback_add()
evas_object_intercept_color_set_callback_del()
typedef void(* Evas_Object_Intercept_Device_Focus_Set_Cb)(void *data, Evas_Object *obj, Eina_Bool focus, Eo *seat)

Function signature for the focus set event of an evas object with seat info

Parameters:
datathe pointer passed through the callback.
objthe object being focused
focusthe focus value, EINA_TRUE if the object is focused, EINA_FALSE otherwise
seatthe seat for which focus is being set
See also:
evas_object_intercept_device_focus_set_callback_add()
evas_object_intercept_device_focus_set_callback_del()
Since:
1.20
typedef void(* Evas_Object_Intercept_Focus_Set_Cb)(void *data, Evas_Object *obj, Eina_Bool focus)

Function signature for the focus set event of an evas object

Parameters:
datathe pointer passed through the callback.
objthe object being focused
focusthe focus value, EINA_TRUE if the object is focused, EINA_FALSE otherwise
See also:
evas_object_intercept_focus_set_callback_add()
evas_object_intercept_focus_set_callback_del()
typedef void(* Evas_Object_Intercept_Hide_Cb)(void *data, Evas_Object *obj)

Function signature for the hide event of an evas object

Parameters:
datais the pointer passed through the callback.
objthe object being hidden.
See also:
evas_object_intercept_hide_callback_add()
evas_object_intercept_hide_callback_del()
typedef void(* Evas_Object_Intercept_Layer_Set_Cb)(void *data, Evas_Object *obj, int l)

Function signature for the layer event of an evas object

Parameters:
datathe pointer passed through the callback.
objthe object being layered
lthe layer value
See also:
evas_object_intercept_layer_callback_add()
evas_object_intercept_layer_callback_del()
typedef void(* Evas_Object_Intercept_Lower_Cb)(void *data, Evas_Object *obj)

Function signature for the lower event of an evas object

Parameters:
datathe pointer passed through the callback.
objthe object being lowered.
See also:
evas_object_intercept_lower_callback_add()
evas_object_intercept_lower_callback_del()
typedef void(* Evas_Object_Intercept_Move_Cb)(void *data, Evas_Object *obj, Evas_Coord x, Evas_Coord y)

Function signature for the move event of an evas object

Parameters:
datathe pointer passed through the callback.
objthe object being moved.
xmove x position
ymove y position
See also:
evas_object_intercept_move_callback_add()
evas_object_intercept_move_callback_del()
typedef void(* Evas_Object_Intercept_Raise_Cb)(void *data, Evas_Object *obj)

Function signature for the raise event of an evas object

Parameters:
datathe pointer passed through the callback.
objthe object being raised.
See also:
evas_object_intercept_raise_callback_add()
evas_object_intercept_raise_callback_del()
typedef void(* Evas_Object_Intercept_Resize_Cb)(void *data, Evas_Object *obj, Evas_Coord w, Evas_Coord h)

Function signature for the resize event of an evas object

Parameters:
datathe pointer passed through the callback.
objthe object being resized.
widthof the object
heightof the object
See also:
evas_object_intercept_resize_callback_add()
evas_object_intercept_resize_callback_del()
typedef void(* Evas_Object_Intercept_Show_Cb)(void *data, Evas_Object *obj)

Function signature for the resize event of an evas object

Parameters:
datais the pointer passed through the callback.
objthe object being shown.
See also:
evas_object_intercept_show_callback_add()
evas_object_intercept_show_callback_del()
typedef void(* Evas_Object_Intercept_Stack_Above_Cb)(void *data, Evas_Object *obj, Evas_Object *above)

Function signature for the stack above event of an evas object

Parameters:
datathe pointer passed through the callback.
objthe object being stacked above.
abovethe object above which the object is stacked
See also:
evas_object_intercept_stack_above_callback_add()
evas_object_intercept_stack_above_callback_del()
typedef void(* Evas_Object_Intercept_Stack_Below_Cb)(void *data, Evas_Object *obj, Evas_Object *above)

Function signature for the stack below event of an evas object

Parameters:
datathe pointer passed through the callback.
objthe object being stacked below.
abovethe object below which the object is stacked
See also:
evas_object_intercept_stack_below_callback_add()
evas_object_intercept_stack_below_callback_del()

Function Documentation

Set the callback function that intercepts a clip set event of an 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 clip set event of a canvas object.

See also:
evas_object_intercept_clip_set_callback_del(). 3.0f(2.3.1)

Unset the callback function that intercepts a clip set event of an object.

Parameters:
objThe given canvas object pointer.
funcThe given callback function.

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

See also:
evas_object_intercept_clip_set_callback_add(). 3.0f(2.3.1)

Set the callback function that intercepts a clip unset event of an 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 clip unset event of a canvas object.

See also:
evas_object_intercept_clip_unset_callback_del(). 3.0f(2.3.1)

Unset the callback function that intercepts a clip unset event of an object.

Parameters:
objThe given canvas object pointer.
funcThe given callback function.

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

See also:
evas_object_intercept_clip_unset_callback_add(). 3.0f(2.3.1)

Set the callback function that intercepts a color set event of an 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 color set event of a canvas object.

See also:
evas_object_intercept_color_set_callback_del(). 3.0f(2.3.1)

Unset the callback function that intercepts a color set event of an object.

Parameters:
objThe given canvas object pointer.
funcThe given callback function.

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

See also:
evas_object_intercept_color_set_callback_add(). 3.0f(2.3.1)

Set the callback function that intercepts a focus set event of an 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 focus set event of a canvas object.

See also:
evas_object_intercept_focus_set_callback_del(). 3.0f(2.3.1)

Unset the callback function that intercepts a focus set event of an object.

Parameters:
objThe given canvas object pointer.
funcThe given callback function.

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

See also:
evas_object_intercept_focus_set_callback_add(). 3.0f(2.3.1)

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(). 3.0f(2.3.1)

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(). 3.0f(2.3.1)

Set the callback function that intercepts a layer set event of an 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 layer set event of a canvas object.

See also:
evas_object_intercept_layer_set_callback_del(). 3.0f(2.3.1)

Unset the callback function that intercepts a layer set event of an object.

Parameters:
objThe given canvas object pointer.
funcThe given callback function.

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

See also:
evas_object_intercept_layer_set_callback_add(). 3.0f(2.3.1)

Set the callback function that intercepts a lower event of an 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 lower event of a canvas object.

See also:
evas_object_intercept_lower_callback_del(). 3.0f(2.3.1)

Unset the callback function that intercepts a lower event of an object.

Parameters:
objThe given canvas object pointer.
funcThe given callback function.

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

See also:
evas_object_intercept_lower_callback_add(). 3.0f(2.3.1)

Set the callback function that intercepts a move event of an 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(). 3.0f(2.3.1)

Unset the callback function that intercepts a move event of an 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(). 3.0f(2.3.1)

Set the callback function that intercepts a raise event of an 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 raise event of a canvas object.

See also:
evas_object_intercept_raise_callback_del(). 3.0f(2.3.1)

Unset the callback function that intercepts a raise event of an object.

Parameters:
objThe given canvas object pointer.
funcThe given callback function.

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

See also:
evas_object_intercept_raise_callback_add(). 3.0f(2.3.1)

Set the callback function that intercepts a resize event of an 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 resize event of a canvas object.

See also:
evas_object_intercept_resize_callback_del(). 3.0f(2.3.1)

Unset the callback function that intercepts a resize event of an object.

Parameters:
objThe given canvas object pointer.
funcThe given callback function.

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

See also:
evas_object_intercept_resize_callback_add(). 3.0f(2.3.1)

Set the callback function that intercepts a show event of an 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(). 3.0f(2.3.1)

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(). 3.0f(2.3.1)

Set the callback function that intercepts a stack above event of an 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 stack above event of a canvas object.

See also:
evas_object_intercept_stack_above_callback_del(). 3.0f(2.3.1)

Unset the callback function that intercepts a stack above event of an object.

Parameters:
objThe given canvas object pointer.
funcThe given callback function.

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

See also:
evas_object_intercept_stack_above_callback_add(). 3.0f(2.3.1)

Set the callback function that intercepts a stack below event of an 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 stack below event of a canvas object.

See also:
evas_object_intercept_stack_below_callback_del(). 3.0f(2.3.1)

Unset the callback function that intercepts a stack below event of an object.

Parameters:
objThe given canvas object pointer.
funcThe given callback function.

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

See also:
evas_object_intercept_stack_below_callback_add(). 3.0f(2.3.1)