comparison finch/libgnt/gntlabel.h @ 21253:ae330012956f

Doxygen for gnt.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 16 Oct 2007 13:06:48 +0000
parents 44b4e8bd759b
children
comparison
equal deleted inserted replaced
21252:d275275a011c 21253:ae330012956f
65 }; 65 };
66 66
67 G_BEGIN_DECLS 67 G_BEGIN_DECLS
68 68
69 /** 69 /**
70 * 70 * @return GType for GntLabel.
71 *
72 * @return
73 */ 71 */
74 GType gnt_label_get_gtype(void); 72 GType gnt_label_get_gtype(void);
75 73
76 /** 74 /**
77 * 75 * Create a new GntLabel.
78 * @param text
79 * 76 *
80 * @return 77 * @param text The text of the label.
78 *
79 * @return The newly created label.
81 */ 80 */
82 GntWidget * gnt_label_new(const char *text); 81 GntWidget * gnt_label_new(const char *text);
83 82
84 /** 83 /**
85 * 84 * Create a new label with specified text attributes.
86 * @param text
87 * @param flags
88 * 85 *
89 * @return 86 * @param text The text.
87 * @param flags Text attributes for the text.
88 *
89 * @return The newly created label.
90 */ 90 */
91 GntWidget * gnt_label_new_with_format(const char *text, GntTextFormatFlags flags); 91 GntWidget * gnt_label_new_with_format(const char *text, GntTextFormatFlags flags);
92 92
93 /** 93 /**
94 * 94 * Change the text of a label.
95 * @param label 95 *
96 * @param text 96 * @param label The label.
97 * @param text The new text to set in the label.
97 */ 98 */
98 void gnt_label_set_text(GntLabel *label, const char *text); 99 void gnt_label_set_text(GntLabel *label, const char *text);
99 100
100 G_END_DECLS 101 G_END_DECLS
101 102