comparison finch/libgnt/gntlabel.h @ 21161:e119edfc0fb0

applied changes from 172a59b41412c4630834d66f2e7ec3be970cc36b through 365b126365cc18309aea7f8eef0e9b2a19e6bda8 And others.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 07 Nov 2007 14:07:52 +0000
parents bddf964880cf
children
comparison
equal deleted inserted replaced
21160:45e550db32ab 21161:e119edfc0fb0
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