Label¶
Widget description¶
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.
Available styles¶
defaultThe default style
default/leftLeft aligned label (since 1.18)
default/rightRight aligned label (since 1.18)
markerCenters the text in the label and makes it bold by default
marker/leftLike marker but left aligned (since 1.18)
marker/rightLike marker but right aligned (since 1.18)
slide_longThe entire text appears from the right of the screen and slides until it disappears in the left of the screen(reappearing on the right again).
slide_shortThe text appears in the left of the label and slides to the right to show the overflow. When all of the text has been shown the position is reset.
slide_bounceThe text appears in the left of the label and slides to the right to show the overflow. When all of the text has been shown the animation reverses, moving the text to the left.
Custom themes can of course invent new markup tags and style them any way they like.
Emitted signals¶
slide,end- The slide is end.
Enumerations¶
Slide modes¶
- efl.elementary.ELM_LABEL_SLIDE_MODE_NONE¶
The label will never slide.
- efl.elementary.ELM_LABEL_SLIDE_MODE_AUTO¶
The label slide if the content is bigger than it’s container.
- efl.elementary.ELM_LABEL_SLIDE_MODE_ALWAYS¶
The label will always slide.