Mercurial > pidgin.yaz
comparison finch/libgnt/gntmenu.h @ 18061:226b9109179c
propagate from branch 'im.pidgin.pidgin' (head 4d9e228029b9b7850d000c2edadc108c40f9e59a)
to branch 'im.pidgin.pidgin.2.1.0' (head 50475bfc4ddcde1db8533c1b41c7b4342d773e21)
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 07 Jun 2007 04:31:02 +0000 |
parents | 1cedd520cd18 |
children | 5c6f019e48f8 |
comparison
equal
deleted
inserted
replaced
17765:89adae2f1a6e | 18061:226b9109179c |
---|---|
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 */ |