comparison finch/libgnt/gntmenuitem.h @ 21256:e8b0f224483f

Add gnt_menuitem_activate, and 'activate' signal for GntMenuItem.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 20 Oct 2007 05:52:52 +0000
parents d275275a011c
children 6de09629f091
comparison
equal deleted inserted replaced
21255:430fd445a053 21256:e8b0f224483f
166 * 166 *
167 * @since 2.3.0 167 * @since 2.3.0
168 */ 168 */
169 const char * gnt_menuitem_get_id(GntMenuItem *item); 169 const char * gnt_menuitem_get_id(GntMenuItem *item);
170 170
171 /**
172 * Activate a menuitem.
173 * Activating the menuitem will first trigger the 'activate' signal for the
174 * menuitem. Then the callback for the menuitem is triggered, if there is one.
175 *
176 * @param item The menuitem.
177 *
178 * @return Whether the callback for the menuitem was called.
179 *
180 * @since 2.3.0
181 */
182 gboolean gnt_menuitem_activate(GntMenuItem *item);
183
171 G_END_DECLS 184 G_END_DECLS
172 185
173 #endif /* GNT_MENUITEM_H */ 186 #endif /* GNT_MENUITEM_H */