comparison finch/libgnt/gntcheckbox.h @ 20306:665d6d7eea83

applied changes from 88f296b3653b5a7578a7581c1582d37390c9d212 through 4bbc209c8076ef89135700af844ec6bb04602c0a
author Luke Schierer <lschiere@pidgin.im>
date Fri, 19 Oct 2007 17:06:53 +0000
parents 44b4e8bd759b
children
comparison
equal deleted inserted replaced
20305:636e6a3a5b67 20306:665d6d7eea83
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