![]() |
![]() |
![]() |
clutk Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
CtkText; CtkTextClass; CtkTextPrivate; ClutterActor * ctk_text_new (const gchar *text
); void ctk_text_set_alignment (CtkText *self
,PangoAlignment alignment
); PangoAlignment ctk_text_get_alignment (CtkText *self
);
ClutterActor * ctk_text_new (const gchar *text
);
Builds a CtkText object containing text
Defaults to enabling Pango markup
|
string containing the text to display |
Returns : |
a CtkText object |
void ctk_text_set_alignment (CtkText *self
,PangoAlignment alignment
);
Sets the alignment of the text, see PangoAlignment for more info
|
A CtkText object |
|
A PangoAlignment object |
PangoAlignment ctk_text_get_alignment (CtkText *self
);
Retrives the PangoAlignment that is currently used by self
|
A CtkText object |
Returns : |
a PangoAlignment |