Mercurial > pidgin.yaz
comparison finch/libgnt/gntmenuitemcheck.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 |
---|---|
64 }; | 64 }; |
65 | 65 |
66 G_BEGIN_DECLS | 66 G_BEGIN_DECLS |
67 | 67 |
68 /** | 68 /** |
69 * | 69 * @return GType for GntMenuItemCheck. |
70 * | |
71 * @return | |
72 */ | 70 */ |
73 GType gnt_menuitem_check_get_gtype(void); | 71 GType gnt_menuitem_check_get_gtype(void); |
74 | 72 |
75 /** | 73 /** |
76 * | 74 * Create a new menuitem. |
77 * @param text | |
78 * | 75 * |
79 * @return | 76 * @param text The text for the menuitem. |
77 * | |
78 * @return The newly created menuitem. | |
80 */ | 79 */ |
81 GntMenuItem * gnt_menuitem_check_new(const char *text); | 80 GntMenuItem * gnt_menuitem_check_new(const char *text); |
82 | 81 |
83 /** | 82 /** |
84 * | 83 * Check whether the menuitem is checked or not. |
85 * @param item | |
86 * | 84 * |
87 * @return | 85 * @param item The menuitem. |
86 * | |
87 * @return @c TRUE if the item is checked, @c FALSE otherwise. | |
88 */ | 88 */ |
89 gboolean gnt_menuitem_check_get_checked(GntMenuItemCheck *item); | 89 gboolean gnt_menuitem_check_get_checked(GntMenuItemCheck *item); |
90 | 90 |
91 /** | 91 /** |
92 * | 92 * Set whether the menuitem is checked or not. |
93 * @param item | 93 * |
94 * @param set | 94 * @param item The menuitem. |
95 * @param set @c TRUE if the item should be checked, @c FALSE otherwise. | |
95 */ | 96 */ |
96 void gnt_menuitem_check_set_checked(GntMenuItemCheck *item, gboolean set); | 97 void gnt_menuitem_check_set_checked(GntMenuItemCheck *item, gboolean set); |
97 | 98 |
98 G_END_DECLS | 99 G_END_DECLS |
99 | 100 |