_Edje_External_Type

Langue: en

Version: 381250 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

_Edje_External_Type -

an external type to be used.

SYNOPSIS


Data Fields


unsigned int abi_version
always use:

*
EDJE_EXTERNAL_TYPE_ABI_VERSION to declare.

"
Evas_Object *(* add )(void *data, Evas *evas, Evas_Object *parent, const Eina_List *params, const char *part_name)
creates the object to be used by Edje as the part
void(* state_set )(void *data, Evas_Object *obj, const void *from_params, const void *to_params, float pos)
called upon state changes, including the initial 'default' 0.0 state.
void(* signal_emit )(void *data, Evas_Object *obj, const char *emission, const char *source)
Feed a signal emitted with emission originally set as part_name:signal to this object (without the 'part_name:' prefix).
Eina_Bool(* param_set )(void *data, Evas_Object *obj, const Edje_External_Param *param)
dynamically change a parameter of this external, called by scripts and user code.
Eina_Bool(* param_get )(void *data, const Evas_Object *obj, Edje_External_Param *param)
dynamically fetch a parameter of this external, called by scripts and user code.
void *(* params_parse )(void *data, Evas_Object *obj, const Eina_List *params)
parses the list of parameters, converting into a friendly representation.
void(* params_free )(void *params)
free parameters parsed with params_parse()
const char *(* translate )(void *data, const char *orig)
called to translate parameters_info name properties for use in user interfaces that support internationalization (i18n)

Detailed Description

an external type to be used.

This structure provides information on how to display and modify a third party Evas_Object in Edje.

Some function pointers are not really used by Edje, but provide means for Edje users to better interact with such objects. For instance, an editor may use label_get() and icon_get() to list all registered external types.

Note:

The function pointers provided in this structure must check for errors and invalid or out-of-range values as for performance reasons Edje will not enforce hints provided as Edje_External_Param_Info in the member parameters_info.

Field Documentation

unsigned int _Edje_External_Type::abi_version

always use:

*
EDJE_EXTERNAL_TYPE_ABI_VERSION to declare.
*
edje_external_type_abi_version_get() to check.

Referenced by edje_external_type_register().

Eina_Bool(* _Edje_External_Type::param_get)(void *data, const Evas_Object *obj, Edje_External_Param *param)

dynamically fetch a parameter of this external, called by scripts and user code. Returns EINA_TRUE on success. (Must check parameter name and type!)

Eina_Bool(* _Edje_External_Type::param_set)(void *data, Evas_Object *obj, const Edje_External_Param *param)

dynamically change a parameter of this external, called by scripts and user code. Returns EINA_TRUE on success

void*(* _Edje_External_Type::params_parse)(void *data, Evas_Object *obj, const Eina_List *params)

parses the list of parameters, converting into a friendly representation. Used with state_set()

void(* _Edje_External_Type::state_set)(void *data, Evas_Object *obj, const void *from_params, const void *to_params, float pos)

called upon state changes, including the initial 'default' 0.0 state. Parameters are the value returned by params_parse()

Author

Generated automatically by Doxygen for Edje from the source code.