Tizen Native API
5.5
|
Widget to display text, with simple html-like markup.
The Label widget doesn't allow text to overflow its boundaries, if the text doesn't fit the geometry of the label it will be ellipsized or be cut. Elementary provides several styles for this widget:
Custom themes can of course invent new markup tags and style them any way they like.
This widget inherits from the Layout one, so that all the functions acting on it also work for label objects.
This widget emits the following signals, besides the ones sent from Layout:
"language,changed"
: The program's language changed. "slide,end"
: The slide is end.See Label example for a demonstration of how to use a label widget.
Functions | |
EINA_DEPRECATED void | elm_label_slide_set (Evas_Object *obj, Eina_Bool slide) |
Set slide effect of label widget. | |
EINA_DEPRECATED Eina_Bool | elm_label_slide_get (const Evas_Object *obj) |
Get whether slide effect is shown or not. | |
Evas_Object * | elm_label_add (Evas_Object *parent) |
Add a new label to the parent. |
Evas_Object* elm_label_add | ( | Evas_Object * | parent | ) |
Add a new label to the parent.
parent | The parent object |
EINA_DEPRECATED Eina_Bool elm_label_slide_get | ( | const Evas_Object * | obj | ) |
Get whether slide effect is shown or not.
obj | The label object |
EINA_DEPRECATED void elm_label_slide_set | ( | Evas_Object * | obj, |
Eina_Bool | slide | ||
) |
Set slide effect of label widget.
obj | The label object |
slide | If true, slide effect will be shown |
If set to true, the text of the label will slide/scroll through the length of label.