_Edje_External_Param_Info Struct Reference
Struct holding information about an EXTERNAL part's parameters. More...
Data Fields | |
Edje_External_Param_Flags | flags |
Flags indicating how this parameter is used. | |
union { | |
struct { | |
int def | |
Default value. | |
const char * false_str | |
String shown by editors to indicate the false state. | |
const char * true_str | |
String shown by editors to indicate the true state. | |
} b | |
Info about boolean type parameters. | |
struct { | |
const char ** choices | |
const char * def | |
Default value. | |
char *(* def_get )(void *data, const Edje_External_Param_Info *info) | |
char **(* query )(void *data, const Edje_External_Param_Info *info) | |
return malloc() memory with the default choice, should be used if def is NULL. | |
} c | |
Info about choice type parameters. | |
struct { | |
double def | |
Default value for the paramter. | |
double max | |
Maximum value it can have. | |
double min | |
Minimum value it can have. | |
double step | |
Values will be a multiple of this. | |
} d | |
Info about double type parametrs. | |
struct { | |
int def | |
Default value for the paramter. | |
int max | |
Maximum value it can have. | |
int min | |
Minimum value it can have. | |
int step | |
Values will be a multiple of this. | |
} i | |
Info about integer type parametrs. | |
struct { | |
const char * accept_fmt | |
Not implemented. | |
const char * def | |
Default value. | |
const char * deny_fmt | |
Not implemented. | |
} s | |
Info about string type parameters. | |
} | info |
const char * | name |
Name of the parameter. | |
Edje_External_Param_Type | type |
Type of the parameter. |
Detailed Description
Struct holding information about an EXTERNAL part's parameters.When creating types to use with EXTERNAL parts, an array of this type is used to describe the different parameters the object uses.
This struct holds the name, type and flags that define how and when the parameter is used, as well as information specific to each type, like the maximum or minimum value, that can be used by editors to restrict the range of values to set for each parameter.
Field Documentation
const char* _Edje_External_Param_Info::accept_fmt |
Not implemented.
struct { ... } _Edje_External_Param_Info::b |
Info about boolean type parameters.
struct { ... } _Edje_External_Param_Info::c |
const char** _Edje_External_Param_Info::choices |
struct { ... } _Edje_External_Param_Info::d |
Info about double type parametrs.
Use EDJE_EXTERNAL_DOUBLE_UNSET on any of them to indicate they are not defined.
Referenced by edje_edit_state_add().
const char* _Edje_External_Param_Info::def |
Default value.
Default value for the paramter.
Default value for the paramter.
Default value.
char*(* _Edje_External_Param_Info::def_get)(void *data, const Edje_External_Param_Info *info) |
const char* _Edje_External_Param_Info::deny_fmt |
Not implemented.
const char* _Edje_External_Param_Info::false_str |
String shown by editors to indicate the false state.
Flags indicating how this parameter is used.
struct { ... } _Edje_External_Param_Info::i |
Info about integer type parametrs.
Use EDJE_EXTERNAL_INT_UNSET on any of them to indicate they are not defined.
Referenced by edje_edit_state_add().
union { ... } _Edje_External_Param_Info::info |
Referenced by edje_edit_state_add().
Maximum value it can have.
Maximum value it can have.
Minimum value it can have.
Minimum value it can have.
const char* _Edje_External_Param_Info::name |
Name of the parameter.
Referenced by edje_edit_state_add(), and edje_object_part_external_param_type_get().
char**(* _Edje_External_Param_Info::query)(void *data, const Edje_External_Param_Info *info) |
return malloc() memory with the default choice, should be used if def is NULL.
First parameter is Edje_External_Type::data
struct { ... } _Edje_External_Param_Info::s |
Values will be a multiple of this.
Values will be a multiple of this.
const char* _Edje_External_Param_Info::true_str |
String shown by editors to indicate the true state.
Type of the parameter.
Referenced by edje_edit_state_add(), and edje_object_part_external_param_type_get().
The documentation for this struct was generated from the following file:
- src/lib/Edje.h