Functions that deal with parts of type text. More...
Modules | |
Edje Text Entry | |
Functions that deal with text entries. | |
Edje Text Selection | |
Functions that deal with selection in text parts. | |
Edje Text Cursor | |
Functions that deal with cursor in text parts. | |
Edje Swallow Part | |
Functions that deal with parts of type swallow and swallowed objects. | |
Edje Object Geometry | |
Functions that deal with object's geometry. | |
Edje Box Part | |
Functions that deal with parts of type box. | |
Edje Table Part | |
Functions that deal with parts of type table. | |
Edje Class: Text | |
Functions that deal with Text Classes. | |
Edje Class: Size | |
Functions that deal with Size Classes. | |
Edje Object File | |
Functions to deals with EDJ files. | |
Edje Object Animation | |
Functions that deal with animations. | |
Edje Communication Interface: Message | |
Functions that deal with messages. | |
Edje Audio | |
Functions to manipulate audio abilities in edje. | |
Typedefs | |
typedef enum _Edje_Text_Effect | Edje_Text_Effect |
All possible text effects in Edje. | |
Enumerations | |
enum | _Edje_Text_Effect { EDJE_TEXT_EFFECT_NONE = 0, EDJE_TEXT_EFFECT_PLAIN = 1, EDJE_TEXT_EFFECT_OUTLINE = 2, EDJE_TEXT_EFFECT_SOFT_OUTLINE = 3, EDJE_TEXT_EFFECT_SHADOW = 4, EDJE_TEXT_EFFECT_SOFT_SHADOW = 5, EDJE_TEXT_EFFECT_OUTLINE_SHADOW = 6, EDJE_TEXT_EFFECT_OUTLINE_SOFT_SHADOW = 7, EDJE_TEXT_EFFECT_FAR_SHADOW = 8, EDJE_TEXT_EFFECT_FAR_SOFT_SHADOW = 9, EDJE_TEXT_EFFECT_GLOW = 10, EDJE_TEXT_EFFECT_LAST = 11, EDJE_TEXT_EFFECT_SHADOW_DIRECTION_BOTTOM_RIGHT = (0x0 << 4), EDJE_TEXT_EFFECT_SHADOW_DIRECTION_BOTTOM = (0x1 << 4), EDJE_TEXT_EFFECT_SHADOW_DIRECTION_BOTTOM_LEFT = (0x2 << 4), EDJE_TEXT_EFFECT_SHADOW_DIRECTION_LEFT = (0x3 << 4), EDJE_TEXT_EFFECT_SHADOW_DIRECTION_TOP_LEFT = (0x4 << 4), EDJE_TEXT_EFFECT_SHADOW_DIRECTION_TOP = (0x5 << 4), EDJE_TEXT_EFFECT_SHADOW_DIRECTION_TOP_RIGHT = (0x6 << 4), EDJE_TEXT_EFFECT_SHADOW_DIRECTION_RIGHT = (0x7 << 4) } |
Variables | |
int | _Edje_Version::major |
The major number of Edje version. More... | |
int | _Edje_Version::minor |
The minor number of Edje version. More... | |
int | _Edje_Version::micro |
The micro number of Edje version. More... | |
int | _Edje_Version::revision |
The revision of Edje version) | |
const char * | _Edje_Color_Class::name |
unsigned char | _Edje_Color_Class::r |
unsigned char | _Edje_Color_Class::g |
unsigned char | _Edje_Color_Class::b |
unsigned char | _Edje_Color_Class::a |
unsigned char | _Edje_Color_Class::r2 |
unsigned char | _Edje_Color_Class::g2 |
unsigned char | _Edje_Color_Class::b2 |
unsigned char | _Edje_Color_Class::a2 |
unsigned char | _Edje_Color_Class::r3 |
unsigned char | _Edje_Color_Class::g3 |
unsigned char | _Edje_Color_Class::b3 |
unsigned char | _Edje_Color_Class::a3 |
Eina_Stringshare * | _Edje_Color_Class::desc |
const char * | _Edje_Text_Class::name |
const char * | _Edje_Text_Class::font |
Evas_Font_Size | _Edje_Text_Class::size |
Eina_Stringshare * | _Edje_Size_Class::name |
Evas_Coord | _Edje_Size_Class::minw |
Evas_Coord | _Edje_Size_Class::minh |
Evas_Coord | _Edje_Size_Class::maxw |
Evas_Coord | _Edje_Size_Class::maxh |
const char * | _Edje_External_Param::name |
The name of the parameter. More... | |
Edje_External_Param_Type | _Edje_External_Param::type |
The type of the parameter. More... | |
int | _Edje_External_Param::i |
Used by both integer and boolean. | |
double | _Edje_External_Param::d |
Used by double. | |
const char * | _Edje_External_Param::s |
Used by both string and choice. | |
const char * | _Edje_External_Param_Info::name |
Name of the parameter. More... | |
Edje_External_Param_Type | _Edje_External_Param_Info::type |
Type of the parameter. More... | |
Edje_External_Param_Flags | _Edje_External_Param_Info::flags |
Flags indicating how this parameter is used. More... | |
int _Edje_External_Param_Info::def | |
Default value for the parameter. More... | |
int _Edje_External_Param_Info::min | |
Minimum value it can have. More... | |
int _Edje_External_Param_Info::max | |
Maximum value it can have. More... | |
int _Edje_External_Param_Info::step | |
Values will be a multiple of this. More... | |
struct { | |
int _Edje_External_Param_Info::def | |
Default value for the parameter. More... | |
int _Edje_External_Param_Info::min | |
Minimum value it can have. More... | |
int _Edje_External_Param_Info::max | |
Maximum value it can have. More... | |
int _Edje_External_Param_Info::step | |
Values will be a multiple of this. More... | |
} _Edje_External_Param_Info::i | |
Info about integer type parameters. More... | |
double _Edje_External_Param_Info::def | |
Default value for the parameter. More... | |
double _Edje_External_Param_Info::min | |
Minimum value it can have. More... | |
double _Edje_External_Param_Info::max | |
Maximum value it can have. More... | |
double _Edje_External_Param_Info::step | |
Values will be a multiple of this. More... | |
struct { | |
double _Edje_External_Param_Info::def | |
Default value for the parameter. More... | |
double _Edje_External_Param_Info::min | |
Minimum value it can have. More... | |
double _Edje_External_Param_Info::max | |
Maximum value it can have. More... | |
double _Edje_External_Param_Info::step | |
Values will be a multiple of this. More... | |
} _Edje_External_Param_Info::d | |
Info about double type parameters. More... | |
const char * _Edje_External_Param_Info::def | |
Default value. More... | |
const char * _Edje_External_Param_Info::accept_fmt | |
Not implemented. More... | |
const char * _Edje_External_Param_Info::deny_fmt | |
Not implemented. | |
struct { | |
const char * _Edje_External_Param_Info::def | |
Default value. More... | |
const char * _Edje_External_Param_Info::accept_fmt | |
Not implemented. More... | |
const char * _Edje_External_Param_Info::deny_fmt | |
Not implemented. | |
} _Edje_External_Param_Info::s | |
Info about string type parameters. More... | |
int _Edje_External_Param_Info::def | |
Default value. More... | |
const char * _Edje_External_Param_Info::false_str | |
String shown by editors to indicate the false state. More... | |
const char * _Edje_External_Param_Info::true_str | |
String shown by editors to indicate the true state. More... | |
struct { | |
int _Edje_External_Param_Info::def | |
Default value. More... | |
const char * _Edje_External_Param_Info::false_str | |
String shown by editors to indicate the false state. More... | |
const char * _Edje_External_Param_Info::true_str | |
String shown by editors to indicate the true state. More... | |
} _Edje_External_Param_Info::b | |
Info about boolean type parameters. More... | |
const char * _Edje_External_Param_Info::def | |
Default value. More... | |
const char ** _Edje_External_Param_Info::::choices | |
char *(* _Edje_External_Param_Info::::def_get )(void *data, const Edje_External_Param_Info *info) | |
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. More... | |
struct { | |
const char * _Edje_External_Param_Info::def | |
Default value. More... | |
const char ** choices | |
char *(* def_get )(void *data, const Edje_External_Param_Info *info) | |
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. More... | |
} _Edje_External_Param_Info::c | |
Info about choice type parameters. More... | |
union { | |
struct { | |
int _Edje_External_Param_Info::def | |
Default value for the parameter. More... | |
int _Edje_External_Param_Info::min | |
Minimum value it can have. More... | |
int _Edje_External_Param_Info::max | |
Maximum value it can have. More... | |
int _Edje_External_Param_Info::step | |
Values will be a multiple of this. More... | |
} _Edje_External_Param_Info::i | |
Info about integer type parameters. More... | |
struct { | |
double _Edje_External_Param_Info::def | |
Default value for the parameter. More... | |
double _Edje_External_Param_Info::min | |
Minimum value it can have. More... | |
double _Edje_External_Param_Info::max | |
Maximum value it can have. More... | |
double _Edje_External_Param_Info::step | |
Values will be a multiple of this. More... | |
} _Edje_External_Param_Info::d | |
Info about double type parameters. More... | |
struct { | |
const char * _Edje_External_Param_Info::def | |
Default value. More... | |
const char * _Edje_External_Param_Info::accept_fmt | |
Not implemented. More... | |
const char * _Edje_External_Param_Info::deny_fmt | |
Not implemented. | |
} _Edje_External_Param_Info::s | |
Info about string type parameters. More... | |
struct { | |
int _Edje_External_Param_Info::def | |
Default value. More... | |
const char * _Edje_External_Param_Info::false_str | |
String shown by editors to indicate the false state. More... | |
const char * _Edje_External_Param_Info::true_str | |
String shown by editors to indicate the true state. More... | |
} _Edje_External_Param_Info::b | |
Info about boolean type parameters. More... | |
struct { | |
const char * _Edje_External_Param_Info::def | |
Default value. More... | |
const char ** choices | |
char *(* def_get )(void *data, const Edje_External_Param_Info *info) | |
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. More... | |
} _Edje_External_Param_Info::c | |
Info about choice type parameters. More... | |
} | _Edje_External_Param_Info::info |
unsigned int | _Edje_External_Type::abi_version |
always use: More... | |
const char * | _Edje_External_Type::module |
Name of the module that holds these definitions, as used in the externals {} block of a theme definition. More... | |
const char * | _Edje_External_Type::module_name |
Canonical name of the module, for displaying in edition programs, for example. More... | |
Evas_Object *(* | _Edje_External_Type::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. More... | |
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. More... | |
void(* | _Edje_External_Type::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(* | _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. More... | |
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. More... | |
Evas_Object *(* | _Edje_External_Type::content_get )(void *data, const Evas_Object *obj, const char *content) |
Dynamically fetch a sub object of this external, called by scripts and user code. More... | |
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. More... | |
void(* | _Edje_External_Type::params_free )(void *params) |
Free parameters parsed with params_parse() | |
const char *(* | _Edje_External_Type::label_get )(void *data) |
Get a label to use to identify this EXTERNAL. More... | |
const char *(* | _Edje_External_Type::description_get )(void *data) |
Get a user friendly description of this EXTERNAL. More... | |
Evas_Object *(* | _Edje_External_Type::icon_add )(void *data, Evas *e) |
Get an icon to use to identify this EXTERNAL. More... | |
Evas_Object *(* | _Edje_External_Type::preview_add )(void *data, Evas *e) |
Get a preview of the EXTERNAL object in use. More... | |
const char *(* | _Edje_External_Type::translate )(void *data, const char *orig) |
called to translate parameters_info name properties for use in user interfaces that support internationalization (i18n) (For editors) | |
Edje_External_Param_Info * | _Edje_External_Type::parameters_info |
An array of Edje_External_Param_Info describing the different parameters this EXTERNAL may have. More... | |
void * | _Edje_External_Type::data |
Private user data that will be passed to all of the class functions. More... | |
const char * | _Edje_External_Type_Info::name |
The name of the type to register. More... | |
const Edje_External_Type * | _Edje_External_Type_Info::info |
The type definition. More... | |
const char * _Edje_Entry_Change_Info::::content | |
size_t _Edje_Entry_Change_Info::::pos | |
size_t _Edje_Entry_Change_Info::::plain_length | |
struct { | |
const char * content | |
size_t pos | |
size_t plain_length | |
} _Edje_Entry_Change_Info::insert | |
const char * _Edje_Entry_Change_Info::::content | |
size_t _Edje_Entry_Change_Info::::start | |
size_t _Edje_Entry_Change_Info::::end | |
struct { | |
const char * content | |
size_t start | |
size_t end | |
} _Edje_Entry_Change_Info::del | |
union { | |
struct { | |
const char * content | |
size_t pos | |
size_t plain_length | |
} insert | |
struct { | |
const char * content | |
size_t start | |
size_t end | |
} del | |
} | _Edje_Entry_Change_Info::change |
Eina_Bool | _Edje_Entry_Change_Info::insert: 1 |
True if the "change" union's "insert" is valid. | |
Eina_Bool | _Edje_Entry_Change_Info::merge: 1 |
True if can be merged with the previous one. More... | |
Functions that deal with parts of type text.
Text is an element type for parts. It's basic functionality is to display a string on the layout, but a lot more things can be done with texts, like string selection, setting the cursor and include a input panel, where one can set a virtual keyboard to handle keyboard entry easily.
enum _Edje_Text_Effect |
int _Edje_Version::major |
The major number of Edje version.
int _Edje_Version::minor |
The minor number of Edje version.
int _Edje_Version::micro |
The micro number of Edje version.
const char* _Edje_External_Param::name |
The name of the parameter.
Referenced by edje_external_param_find(), and edje_object_signal_callback_seat_data_get().
Edje_External_Param_Type _Edje_External_Param::type |
The type of the parameter.
This defines which of the next three variables holds the value for it.
Referenced by edje_external_param_bool_get(), edje_external_param_choice_get(), edje_external_param_double_get(), edje_external_param_int_get(), edje_external_param_string_get(), and edje_object_signal_callback_seat_data_get().
const char* _Edje_External_Param_Info::name |
Name of the parameter.
Referenced by edje_object_signal_callback_seat_data_get().
Edje_External_Param_Type _Edje_External_Param_Info::type |
Type of the parameter.
Referenced by edje_object_signal_callback_seat_data_get().
Edje_External_Param_Flags _Edje_External_Param_Info::flags |
Flags indicating how this parameter is used.
int _Edje_External_Param_Info::def |
Default value for the parameter.
Default value.
int { ... } ::def |
Default value for the parameter.
int _Edje_External_Param_Info::min |
Minimum value it can have.
int { ... } ::min |
Minimum value it can have.
int _Edje_External_Param_Info::max |
Maximum value it can have.
int { ... } ::max |
Maximum value it can have.
int _Edje_External_Param_Info::step |
Values will be a multiple of this.
int { ... } ::step |
Values will be a multiple of this.
struct { ... } _Edje_External_Param_Info::i |
Info about integer type parameters.
Use EDJE_EXTERNAL_INT_UNSET on any of them to indicate they are not defined.
struct { ... } ::i |
Info about integer type parameters.
Use EDJE_EXTERNAL_INT_UNSET on any of them to indicate they are not defined.
double _Edje_External_Param_Info::def |
Default value for the parameter.
double { ... } ::def |
Default value for the parameter.
double _Edje_External_Param_Info::min |
Minimum value it can have.
double { ... } ::min |
Minimum value it can have.
double _Edje_External_Param_Info::max |
Maximum value it can have.
double { ... } ::max |
Maximum value it can have.
double _Edje_External_Param_Info::step |
Values will be a multiple of this.
double { ... } ::step |
Values will be a multiple of this.
struct { ... } _Edje_External_Param_Info::d |
Info about double type parameters.
Use EDJE_EXTERNAL_DOUBLE_UNSET on any of them to indicate they are not defined.
struct { ... } ::d |
Info about double type parameters.
Use EDJE_EXTERNAL_DOUBLE_UNSET on any of them to indicate they are not defined.
const char* _Edje_External_Param_Info::def |
Default value.
const { ... } ::def |
Default value.
const char* _Edje_External_Param_Info::accept_fmt |
Not implemented.
const { ... } ::accept_fmt |
Not implemented.
struct { ... } _Edje_External_Param_Info::s |
Info about string type parameters.
NULL indicates undefined.
struct { ... } ::s |
Info about string type parameters.
NULL indicates undefined.
int { ... } ::def |
Default value.
const char* _Edje_External_Param_Info::false_str |
String shown by editors to indicate the false state.
const { ... } ::false_str |
String shown by editors to indicate the false state.
const char* _Edje_External_Param_Info::true_str |
String shown by editors to indicate the true state.
const { ... } ::true_str |
String shown by editors to indicate the true state.
struct { ... } _Edje_External_Param_Info::b |
Info about boolean type parameters.
struct { ... } ::b |
Info about boolean type parameters.
const { ... } ::def |
Default value.
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
char**(* { ... } ::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::c |
Info about choice type parameters.
struct { ... } ::c |
Info about choice type parameters.
unsigned int _Edje_External_Type::abi_version |
always use:
Referenced by edje_external_type_array_register(), and edje_external_type_register().
const char* _Edje_External_Type::module |
Name of the module that holds these definitions, as used in the externals {} block of a theme definition.
const char* _Edje_External_Type::module_name |
Canonical name of the module, for displaying in edition programs, for example.
Evas_Object*(* _Edje_External_Type::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.
part_name
is the name of the part that holds the object and can be used to forward callbacks from the object as signals from Edje. params
is the list of Edje_External_Param, not parsed, from the default state of the part. Parameters of type EDJE_EXTERNAL_PARAM_FLAGS_CONSTRUCTOR should be set on the object here.
Referenced by edje_external_type_get().
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(). The pos
parameter is a value between 0.0 and 1.0 indicating the position in time within the state transition.
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
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!)
Evas_Object*(* _Edje_External_Type::content_get) (void *data, const Evas_Object *obj, const char *content) |
Dynamically fetch a sub object of this external, called by scripts and user code.
Returns Evas_Object
* on success. (Must check parameter name and type!)
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()
const char*(* _Edje_External_Type::label_get) (void *data) |
Get a label to use to identify this EXTERNAL.
(For editors)
const char*(* _Edje_External_Type::description_get) (void *data) |
Get a user friendly description of this EXTERNAL.
(For editors)
Evas_Object*(* _Edje_External_Type::icon_add) (void *data, Evas *e) |
Get an icon to use to identify this EXTERNAL.
(For editors)
Evas_Object*(* _Edje_External_Type::preview_add) (void *data, Evas *e) |
Get a preview of the EXTERNAL object in use.
(For editors)
Edje_External_Param_Info* _Edje_External_Type::parameters_info |
An array of Edje_External_Param_Info describing the different parameters this EXTERNAL may have.
The last element in the array must be #EDJE_EXTERNAL_PARAM_INFO_SENTINEL.
Referenced by edje_external_param_info_get(), and edje_object_signal_callback_seat_data_get().
void* _Edje_External_Type::data |
Private user data that will be passed to all of the class functions.
Referenced by edje_external_type_get().
const char* _Edje_External_Type_Info::name |
The name of the type to register.
Referenced by edje_external_type_array_register(), and edje_external_type_array_unregister().
const Edje_External_Type* _Edje_External_Type_Info::info |
The type definition.
Referenced by edje_external_type_array_register(), and edje_external_type_array_unregister().
Eina_Bool _Edje_Entry_Change_Info::merge |
True if can be merged with the previous one.
Used for example with insertion when something is already selected.