Tizen Native API  6.0
_Evas_Smart_Class Struct Reference

Public Attributes

const char * name
void(* add )(Evas_Object *o)
void(* del )(Evas_Object *o)
void(* move )(Evas_Object *o, Evas_Coord x, Evas_Coord y)
void(* resize )(Evas_Object *o, Evas_Coord w, Evas_Coord h)
void(* show )(Evas_Object *o)
void(* hide )(Evas_Object *o)
void(* color_set )(Evas_Object *o, int r, int g, int b, int a)
void(* clip_set )(Evas_Object *o, Evas_Object *clip)
void(* clip_unset )(Evas_Object *o)
void(* calculate )(Evas_Object *o)
void(* member_add )(Evas_Object *o, Evas_Object *child)
void(* member_del )(Evas_Object *o, Evas_Object *child)
const Evas_Smart_Classparent
const Evas_Smart_Cb_Descriptioncallbacks
const Evas_Smart_Interface ** interfaces

Detailed Description

A smart object's base class definition

Examples:
evas-smart-interface.c, and evas-smart-object.c.

Member Data Documentation

code to be run when adding object to a canvas

Examples:
evas-smart-interface.c, and evas-smart-object.c.

code to be run when object has rendering updates on a canvas

Examples:
evas-smart-interface.c, and evas-smart-object.c.

callbacks at this level, NULL terminated

code to be run when setting clipper of object on a canvas. clip will be new clipper one applied to the object. use evas_object_clip_get() if you need the old one, during this call. after that, the old (object pointer) value will be lost.

code to be run when unsetting clipper of object on a canvas. if you need the pointer to a previous set clipper, during this call, use evas_object_clip_get(). after that, the old (object pointer) value will be lost.

void(* _Evas_Smart_Class::color_set)(Evas_Object *o, int r, int g, int b, int a)

code to be run when setting color of object on a canvas. r, g, b and a will be new color components one applied to the object. use evas_object_color_get() if you need the old values, during this call. after that, the old values will be lost.

code to be run when removing object from a canvas

Examples:
evas-smart-interface.c, and evas-smart-object.c.

code to be run when hiding object on a canvas

Examples:
evas-smart-interface.c.

Evas_Smart_Interface pointers array, NULL terminated. These will be the interfaces supported at this level for an object (parents may have others)

Since (EFL) :
1.7

code to be run when a child member is added to object

code to be run when a child member is removed from object

void(* _Evas_Smart_Class::move)(Evas_Object *o, Evas_Coord x, Evas_Coord y)

code to be run when moving object on a canvas. x and y will be new coordinates one applied to the object. use evas_object_geometry_get() if you need the old values, during this call. after that, the old values will be lost.

the name string of the class

this class inherits from this parent

void(* _Evas_Smart_Class::resize)(Evas_Object *o, Evas_Coord w, Evas_Coord h)

code to be run when resizing object on a canvas. w and h will be new dimensions one applied to the object. use evas_object_geometry_get() if you need the old values, during this call. after that, the old values will be lost.

Examples:
evas-smart-interface.c, and evas-smart-object.c.

code to be run when showing object on a canvas

Examples:
evas-smart-interface.c.