![]() |
![]() |
![]() |
St Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
struct StLabel; struct StLabelClass; ClutterActor * st_label_get_clutter_text (StLabel *label
); const gchar * st_label_get_text (StLabel *label
); StWidget * st_label_new (const gchar *text
); void st_label_set_text (StLabel *label
,const gchar *text
);
StLabel implements ClutterScriptable, ClutterAnimatable and AtkImplementorIface.
StLabel is a simple widget for displaying text. It derives from StWidget to add extra style and placement functionality over ClutterText. The internal ClutterText is publicly accessibly to allow applications to set further properties.
struct StLabel;
The contents of this structure is private and should only be accessed using the provided API.
ClutterActor * st_label_get_clutter_text (StLabel *label
);
Retrieve the internal ClutterText so that extra parameters can be set
const gchar * st_label_get_text (StLabel *label
);
Get the text displayed on the label
|
a StLabel |
Returns : |
the text for the label. This must not be freed by the application |
StWidget * st_label_new (const gchar *text
);
Create a new StLabel with the specified label
|
text to set the label to |
Returns : |
a new StLabel |