The Label is a simple widget that can display text or an image, but not both.
The orientation can be set using the style flags LEFT
,
RIGHT
, and CENTER
If the style flag SEPARATOR
is applied, the label acts as a
separator line, as it can be seen between the image labels in the example.
Using HORIZONTAL
or VERTICAL
, the orientation of
the separator can be set.
Separator labels can be styled using the style flags SHADOW_IN
,
SHADOW_OUT
, and SHADOW_NONE
.
Unlike the simple Label, the CLabel can display both text and image
at the same time.
It also supports the style flags
SHADOW_IN
, SHADOW_OUT
, and SHADOW_NONE
.
The Link is a Label-like widget that can include hyperlinks in its text. Clicking one of the hyperlinks fires a selection event.