A smart object's base interface definition. More...
Data Fields | |
const char * | name |
Name of the given interface. | |
unsigned | private_size |
Size, in bytes, of the interface's private dada blob. More... | |
Eina_Bool(* | add )(Evas_Object *obj) |
Function to be called at object creation time. More... | |
void(* | del )(Evas_Object *obj) |
Function to be called at object deletion time. More... | |
A smart object's base interface definition.
Every Evas interface must have a name field, pointing to a global, constant string variable. This string pointer will be the only way of retrieving back a given interface from a smart object. Two function pointers must be defined, too, which will be called at object creation and deletion times.
See also some examples on smart interfaces.