Tizen Native API
|
Functions | |
Eina_Bool | edje_text_class_set (const char *text_class, const char *font, Evas_Font_Size size) |
Sets the Edje text class. | |
Eina_Bool | edje_text_class_get (const char *text_class, char **font, Evas_Font_Size *size) |
Gets the Edje text class. | |
void | edje_text_class_del (const char *text_class) |
Deletes the text class. | |
Eina_List * | edje_text_class_list (void) |
Lists the text classes. | |
Eina_Bool | edje_object_text_class_set (Evas_Object *obj, const char *text_class, const char *font, Evas_Font_Size size) |
Sets the Edje text class. | |
Eina_Bool | edje_object_text_class_get (const Evas_Object *obj, const char *text_class, char **font, Evas_Font_Size *size) |
Gets the Edje text class. |
This group discusses functions that deal with Text Classes.
Eina_Bool edje_object_text_class_get | ( | const Evas_Object * | obj, |
const char * | text_class, | ||
char ** | font, | ||
Evas_Font_Size * | size | ||
) |
Gets the Edje text class.
This function gets the text values for a process level text class.
[in] | obj | A valid Evas_Object handle |
[in] | text_class | The text class name |
[out] | font | The font name This string is a stringshare and must be freed by the caller using free(). |
[out] | size | The font size |
Eina_Bool edje_object_text_class_set | ( | Evas_Object * | obj, |
const char * | text_class, | ||
const char * | font, | ||
Evas_Font_Size | size | ||
) |
Sets the Edje text class.
This function sets the text class for Edje.
[in] | obj | A valid Evas_Object handle |
[in] | text_class | The text class name |
[in] | font | The font name |
[in] | size | The font Size |
void edje_text_class_del | ( | const char * | text_class | ) |
Deletes the text class.
This function deletes any values at the process level for the specified text class.
[in] | text_class | The text class name string |
Eina_Bool edje_text_class_get | ( | const char * | text_class, |
char ** | font, | ||
Evas_Font_Size * | size | ||
) |
Gets the Edje text class.
This function gets the text values for a process level text class.
[in] | text_class | The text class name |
[out] | font | The font name This string is a stringshare and must be freed by the caller using free(). |
[out] | size | The font size |
Eina_List* edje_text_class_list | ( | void | ) |
Lists the text classes.
This function lists all the text classes known by the current process.
Eina_Bool edje_text_class_set | ( | const char * | text_class, |
const char * | font, | ||
Evas_Font_Size | size | ||
) |
Sets the Edje text class.
This function updates all edje members at the process level which belong to this text class with the new font attributes. If the size is 0 then the font size is kept as the previous size. If the size is less then 0 then the font size is calculated as a percentage. For example, if the size is -50, then the font size is scaled to half of the original size and if the size is -10 then the font size is scaled by 0.1x.
[in] | text_class | The text class name |
[in] | font | The font name |
[in] | size | The font size |