#include "gnt.h"
#include "gntwidget.h"
#include "gnttextview.h"
Go to the source code of this file.
Data Structures | |
| struct | _GntLabel |
| struct | _GntLabelClass |
Defines | |
| #define | GNT_TYPE_LABEL (gnt_label_get_gtype()) |
| #define | GNT_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_LABEL, GntLabel)) |
| #define | GNT_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_LABEL, GntLabelClass)) |
| #define | GNT_IS_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_LABEL)) |
| #define | GNT_IS_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_LABEL)) |
| #define | GNT_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_LABEL, GntLabelClass)) |
Typedefs | |
| typedef struct _GntLabel | GntLabel |
| typedef struct _GntLabelClass | GntLabelClass |
Functions | |
| G_BEGIN_DECLS GType | gnt_label_get_gtype (void) |
| GntWidget * | gnt_label_new (const char *text) |
| Create a new GntLabel. | |
| GntWidget * | gnt_label_new_with_format (const char *text, GntTextFormatFlags flags) |
| Create a new label with specified text attributes. | |
| void | gnt_label_set_text (GntLabel *label, const char *text) |
| Change the text of a label. | |
Definition in file gntlabel.h.
| G_BEGIN_DECLS GType gnt_label_get_gtype | ( | void | ) |
| GntWidget* gnt_label_new | ( | const char * | text | ) |
Create a new GntLabel.
| text | The text of the label. |
| GntWidget* gnt_label_new_with_format | ( | const char * | text, | |
| GntTextFormatFlags | flags | |||
| ) |
Create a new label with specified text attributes.
| text | The text. | |
| flags | Text attributes for the text. |
| void gnt_label_set_text | ( | GntLabel * | label, | |
| const char * | text | |||
| ) |
Change the text of a label.
| label | The label. | |
| text | The new text to set in the label. |