comparison finch/libgnt/gntcombobox.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 992afeb1d40f
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_COMBO_BOX_H 23 #ifndef GNT_COMBO_BOX_H
2 #define GNT_COMBO_BOX_H 24 #define GNT_COMBO_BOX_H
3 25
4 #include "gnt.h" 26 #include "gnt.h"
5 #include "gntcolors.h" 27 #include "gntcolors.h"
40 void (*gnt_reserved4)(void); 62 void (*gnt_reserved4)(void);
41 }; 63 };
42 64
43 G_BEGIN_DECLS 65 G_BEGIN_DECLS
44 66
67 /**
68 *
69 *
70 * @return
71 */
45 GType gnt_combo_box_get_gtype(void); 72 GType gnt_combo_box_get_gtype(void);
46 73
47 GntWidget *gnt_combo_box_new(void); 74 /**
75 *
76 *
77 * @return
78 */
79 GntWidget * gnt_combo_box_new(void);
48 80
81 /**
82 *
83 * @param box
84 * @param key
85 * @param text
86 */
49 void gnt_combo_box_add_data(GntComboBox *box, gpointer key, const char *text); 87 void gnt_combo_box_add_data(GntComboBox *box, gpointer key, const char *text);
50 88
89 /**
90 *
91 * @param box
92 * @param key
93 */
51 void gnt_combo_box_remove(GntComboBox *box, gpointer key); 94 void gnt_combo_box_remove(GntComboBox *box, gpointer key);
52 95
96 /**
97 *
98 * @param box
99 */
53 void gnt_combo_box_remove_all(GntComboBox *box); 100 void gnt_combo_box_remove_all(GntComboBox *box);
54 101
102 /**
103 *
104 * @param box
105 *
106 * @return
107 */
55 gpointer gnt_combo_box_get_selected_data(GntComboBox *box); 108 gpointer gnt_combo_box_get_selected_data(GntComboBox *box);
56 109
110 /**
111 *
112 * @param box
113 * @param key
114 */
57 void gnt_combo_box_set_selected(GntComboBox *box, gpointer key); 115 void gnt_combo_box_set_selected(GntComboBox *box, gpointer key);
58 116
59 G_END_DECLS 117 G_END_DECLS
60 118
61 #endif /* GNT_COMBO_BOX_H */ 119 #endif /* GNT_COMBO_BOX_H */