_Evas_Smart_Class Struct Reference

A smart object's base class definition. More...

Data Fields

const char * name
 the name string of the class
 
int version
 
void(* add )(Evas_Object *o)
 code to be run when adding object to a canvas
 
void(* del )(Evas_Object *o)
 code to be run when removing object from a canvas
 
void(* move )(Evas_Object *o, Evas_Coord x, Evas_Coord y)
 code to be run when moving object on a canvas. More...
 
void(* resize )(Evas_Object *o, Evas_Coord w, Evas_Coord h)
 code to be run when resizing object on a canvas. More...
 
void(* show )(Evas_Object *o)
 code to be run when showing object on a canvas
 
void(* hide )(Evas_Object *o)
 code to be run when hiding object on a canvas
 
void(* 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. More...
 
void(* clip_set )(Evas_Object *o, Evas_Object *clip)
 code to be run when setting clipper of object on a canvas. More...
 
void(* clip_unset )(Evas_Object *o)
 code to be run when unsetting clipper of object on a canvas. More...
 
void(* calculate )(Evas_Object *o)
 code to be run when object has rendering updates on a canvas
 
void(* member_add )(Evas_Object *o, Evas_Object *child)
 code to be run when a child member is added to object
 
void(* member_del )(Evas_Object *o, Evas_Object *child)
 code to be run when a child member is removed from object
 
const Evas_Smart_Classparent
 this class inherits from this parent
 
const Evas_Smart_Cb_Descriptioncallbacks
 callbacks at this level, NULL terminated
 
const Evas_Smart_Interface ** interfaces
 Evas_Smart_Interface pointers array, NULL terminated. More...
 
const void * data
 

Detailed Description

A smart object's base class definition.

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