Main Page
Object Hierarchy
Data Structures
Related Pages
etk_label.h File Reference
Detailed Description
Data Structures
struct
Etk_Label
[Widget]
A simple widget that can display text
More...
Defines
#define
ETK_LABEL_TYPE
(etk_label_type_get())
#define
ETK_LABEL
(obj) (ETK_OBJECT_CAST((obj), ETK_LABEL_TYPE,
Etk_Label
))
#define
ETK_IS_LABEL
(obj) (ETK_OBJECT_CHECK_TYPE((obj), ETK_LABEL_TYPE))
Functions
Etk_Widget
*
etk_label_new
(const char *text)
Creates a new label.
void
etk_label_set
(
Etk_Label
*label, const char *text)
Sets the text of the label.
const char *
etk_label_get
(
Etk_Label
*label)
Gets the text of the label.
void
etk_label_alignment_set
(
Etk_Label
*label, float xalign, float yalign)
Sets the alignment of the label.
void
etk_label_alignment_get
(
Etk_Label
*label, float *xalign, float *yalign)
Gets the alignment of the label.