| 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 |