Tizen Native API  5.5
_Evas_Smart_Interface Struct Reference

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.

Function to be called at object deletion time. This will take place after the object's smart del() function.

Name of the given interface

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().