comparison finch/libgnt/gntmenu.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 6de09629f091
comparison
equal deleted inserted replaced
21160:45e550db32ab 21161:e119edfc0fb0
84 }; 84 };
85 85
86 G_BEGIN_DECLS 86 G_BEGIN_DECLS
87 87
88 /** 88 /**
89 * 89 * @return The GType for GntMenu.
90 *
91 * @return
92 */ 90 */
93 GType gnt_menu_get_gtype(void); 91 GType gnt_menu_get_gtype(void);
94 92
95 /** 93 /**
96 * 94 * Create a new menu.
97 * @param type
98 * 95 *
99 * @return 96 * @param type The type of the menu, whether it's a toplevel menu or a popup menu.
97 *
98 * @return The newly created menu.
100 */ 99 */
101 GntWidget * gnt_menu_new(GntMenuType type); 100 GntWidget * gnt_menu_new(GntMenuType type);
102 101
103 /** 102 /**
104 * 103 * Add an item to the menu.
105 * @param menu 104 *
106 * @param item 105 * @param menu The menu.
106 * @param item The item to add to the menu.
107 */ 107 */
108 void gnt_menu_add_item(GntMenu *menu, GntMenuItem *item); 108 void gnt_menu_add_item(GntMenu *menu, GntMenuItem *item);
109 109
110 G_END_DECLS 110 G_END_DECLS
111 111