![]() |
![]() |
![]() |
St Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
struct StLabel; struct StLabelClass; StWidget * st_label_new (const gchar *text
); const gchar * st_label_get_text (StLabel *label
); void st_label_set_text (StLabel *label
,const gchar *text
); ClutterActor * st_label_get_clutter_text (StLabel *label
);
StLabel implements ClutterContainer, 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.
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 |
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 |
void st_label_set_text (StLabel *label
,const gchar *text
);
Sets the text displayed on the label
|
a StLabel |
|
text to set the label to |
ClutterActor * st_label_get_clutter_text (StLabel *label
);
Retrieve the internal ClutterText so that extra parameters can be set
|
a StLabel |
Returns : |
ethe ClutterText used by StLabel. The label is owned by the StLabel and should not be unref'ed by the application. [transfer none] |