finch/libgnt/gntcheckbox.h

changeset 20813
a5a5bdae8b3f
parent 19859
71d37b57eff2
child 35379
ea1a0327001e
child 35393
00f876b129bc
child 37017
8e2b68c79fa1
equal deleted inserted replaced
20812:a61d528cecf5 20813:a5a5bdae8b3f
66 }; 66 };
67 67
68 G_BEGIN_DECLS 68 G_BEGIN_DECLS
69 69
70 /** 70 /**
71 * 71 * @return GType for GntCheckBox
72 *
73 * @return
74 */ 72 */
75 GType gnt_check_box_get_gtype(void); 73 GType gnt_check_box_get_gtype(void);
76 74
77 /** 75 /**
78 * 76 * Create a new checkbox.
79 * @param text
80 * 77 *
81 * @return 78 * @param text The text for the checkbox.
79 *
80 * @return The newly created checkbox.
82 */ 81 */
83 GntWidget * gnt_check_box_new(const char *text); 82 GntWidget * gnt_check_box_new(const char *text);
84 83
85 /** 84 /**
86 * 85 * Set whether the checkbox should be checked or not.
87 * @param box 86 *
88 * @param set 87 * @param box The checkbox.
88 * @param set @c TRUE if the checkbox should be selected, @c FALSE otherwise.
89 */ 89 */
90 void gnt_check_box_set_checked(GntCheckBox *box, gboolean set); 90 void gnt_check_box_set_checked(GntCheckBox *box, gboolean set);
91 91
92 /** 92 /**
93 * 93 * Return the checked state of the checkbox.
94 * @param box
95 * 94 *
96 * @return 95 * @param box The checkbox.
96 *
97 * @return @c TRUE if the checkbox is selected, @c FALSE otherwise.
97 */ 98 */
98 gboolean gnt_check_box_get_checked(GntCheckBox *box); 99 gboolean gnt_check_box_get_checked(GntCheckBox *box);
99 100
100 G_END_DECLS 101 G_END_DECLS
101 102

mercurial