Tizen Native API
6.5
|
Public Attributes | |
const char * | name |
unsigned | private_size |
Eina_Bool(* | add )(Evas_Object *obj) |
void(* | del )(Evas_Object *obj) |
Detailed Description
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.
- Since (EFL) :
- 1.7
- Examples:
- evas-smart-interface.c.
Member Data Documentation
Function to be called at object creation time. This will take place before the object's smart add()
function.
void(* _Evas_Smart_Interface::del)(Evas_Object *obj) |
Function to be called at object deletion time. This will take place after the object's smart del()
function.
const char* _Evas_Smart_Interface::name |
Name of the given interface
unsigned _Evas_Smart_Interface::private_size |
Size, in bytes, of the interface's private dada blob. This will be allocated and freed automatically for you. Get it with evas_object_smart_interface_data_get().