Mercurial > pidgin
comparison finch/libgnt/gntmenu.h @ 18049:1cedd520cd18
Doxygen skeleton and license info for gnt files.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 06 Jun 2007 15:42:29 +0000 |
parents | f00f2e283ffb |
children | 5c6f019e48f8 |
comparison
equal
deleted
inserted
replaced
18048:9aa2c89c8b9e | 18049:1cedd520cd18 |
---|---|
1 /** | |
2 * GNT - The GLib Ncurses Toolkit | |
3 * | |
4 * GNT is the legal property of its developers, whose names are too numerous | |
5 * to list here. Please refer to the COPYRIGHT file distributed with this | |
6 * source distribution. | |
7 * | |
8 * This library is free software; you can redistribute it and/or modify | |
9 * it under the terms of the GNU General Public License as published by | |
10 * the Free Software Foundation; either version 2 of the License, or | |
11 * (at your option) any later version. | |
12 * | |
13 * This program is distributed in the hope that it will be useful, | |
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 * GNU General Public License for more details. | |
17 * | |
18 * You should have received a copy of the GNU General Public License | |
19 * along with this program; if not, write to the Free Software | |
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
21 */ | |
22 | |
1 #ifndef GNT_MENU_H | 23 #ifndef GNT_MENU_H |
2 #define GNT_MENU_H | 24 #define GNT_MENU_H |
3 | 25 |
4 #include "gnttree.h" | 26 #include "gnttree.h" |
5 #include "gntcolors.h" | 27 #include "gntcolors.h" |
57 void (*gnt_reserved4)(void); | 79 void (*gnt_reserved4)(void); |
58 }; | 80 }; |
59 | 81 |
60 G_BEGIN_DECLS | 82 G_BEGIN_DECLS |
61 | 83 |
84 /** | |
85 * | |
86 * | |
87 * @return | |
88 */ | |
62 GType gnt_menu_get_gtype(void); | 89 GType gnt_menu_get_gtype(void); |
63 | 90 |
64 GntWidget *gnt_menu_new(GntMenuType type); | 91 /** |
92 * | |
93 * @param type | |
94 * | |
95 * @return | |
96 */ | |
97 GntWidget * gnt_menu_new(GntMenuType type); | |
65 | 98 |
99 /** | |
100 * | |
101 * @param menu | |
102 * @param item | |
103 */ | |
66 void gnt_menu_add_item(GntMenu *menu, GntMenuItem *item); | 104 void gnt_menu_add_item(GntMenu *menu, GntMenuItem *item); |
67 | 105 |
68 G_END_DECLS | 106 G_END_DECLS |
69 | 107 |
70 #endif /* GNT_MENU_H */ | 108 #endif /* GNT_MENU_H */ |