finch/libgnt/gntcombobox.h

Thu, 06 Feb 2014 20:02:57 +0530

author
Ankit Vani <a@nevitus.org>
date
Thu, 06 Feb 2014 20:02:57 +0530
branch
soc.2013.gobjectification.plugins
changeset 37075
cf3f735b09b7
parent 37064
3373bd0b4ea6
parent 35475
ec0d44434ba8
child 37077
d6404f69bf6c
permissions
-rw-r--r--

Merge gtkdoc-conversion

18358
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 17586
diff changeset
1 /*
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
2 * GNT - The GLib Ncurses Toolkit
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
3 *
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
4 * GNT is the legal property of its developers, whose names are too numerous
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
5 * to list here. Please refer to the COPYRIGHT file distributed with this
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
6 * source distribution.
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
7 *
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
8 * This library is free software; you can redistribute it and/or modify
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
9 * it under the terms of the GNU General Public License as published by
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
10 * the Free Software Foundation; either version 2 of the License, or
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
11 * (at your option) any later version.
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
12 *
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
13 * This program is distributed in the hope that it will be useful,
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
16 * GNU General Public License for more details.
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
17 *
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
18 * You should have received a copy of the GNU General Public License
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
19 * along with this program; if not, write to the Free Software
19859
71d37b57eff2 The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 18427
diff changeset
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
21 */
35446
c0f80955551d Add sections for libgnt and re-arrange GNT doc index
Ankit Vani <a@nevitus.org>
parents: 35408
diff changeset
22 /**
c0f80955551d Add sections for libgnt and re-arrange GNT doc index
Ankit Vani <a@nevitus.org>
parents: 35408
diff changeset
23 * SECTION:gntcombobox
c0f80955551d Add sections for libgnt and re-arrange GNT doc index
Ankit Vani <a@nevitus.org>
parents: 35408
diff changeset
24 * @section_id: libgnt-gntcombobox
c0f80955551d Add sections for libgnt and re-arrange GNT doc index
Ankit Vani <a@nevitus.org>
parents: 35408
diff changeset
25 * @short_description: <filename>gntcombobox.h</filename>
c0f80955551d Add sections for libgnt and re-arrange GNT doc index
Ankit Vani <a@nevitus.org>
parents: 35408
diff changeset
26 * @title: Combobox
c0f80955551d Add sections for libgnt and re-arrange GNT doc index
Ankit Vani <a@nevitus.org>
parents: 35408
diff changeset
27 */
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
28
13997
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
29 #ifndef GNT_COMBO_BOX_H
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
30 #define GNT_COMBO_BOX_H
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
31
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
32 #include "gnt.h"
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
33 #include "gntcolors.h"
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
34 #include "gntkeys.h"
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
35 #include "gntwidget.h"
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
36
35379
ea1a0327001e Rename _get_gtype() functions in libgnt to _get_type()
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
37 #define GNT_TYPE_COMBO_BOX (gnt_combo_box_get_type())
13997
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
38 #define GNT_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_COMBO_BOX, GntComboBox))
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
39 #define GNT_COMBO_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_COMBO_BOX, GntComboBoxClass))
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
40 #define GNT_IS_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_COMBO_BOX))
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
41 #define GNT_IS_COMBO_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_COMBO_BOX))
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
42 #define GNT_COMBO_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_COMBO_BOX, GntComboBoxClass))
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
43
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
44 #define GNT_COMBO_BOX_FLAGS(obj) (GNT_COMBO_BOX(obj)->priv.flags)
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
45 #define GNT_COMBO_BOX_SET_FLAGS(obj, flags) (GNT_COMBO_BOX_FLAGS(obj) |= flags)
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
46 #define GNT_COMBO_BOX_UNSET_FLAGS(obj, flags) (GNT_COMBO_BOX_FLAGS(obj) &= ~(flags))
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
47
15991
1efb6bd8ba3f Some define changes. This helps in generating the python bindings.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 15886
diff changeset
48 typedef struct _GntComboBox GntComboBox;
1efb6bd8ba3f Some define changes. This helps in generating the python bindings.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 15886
diff changeset
49 typedef struct _GntComboBoxPriv GntComboBoxPriv;
1efb6bd8ba3f Some define changes. This helps in generating the python bindings.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 15886
diff changeset
50 typedef struct _GntComboBoxClass GntComboBoxClass;
13997
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
51
15991
1efb6bd8ba3f Some define changes. This helps in generating the python bindings.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 15886
diff changeset
52 struct _GntComboBox
13997
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
53 {
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
54 GntWidget parent;
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
55
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
56 GntWidget *dropdown; /* This is a GntTree */
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
57
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
58 void *selected; /* Currently selected key */
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
59 };
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
60
15991
1efb6bd8ba3f Some define changes. This helps in generating the python bindings.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 15886
diff changeset
61 struct _GntComboBoxClass
13997
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
62 {
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
63 GntWidgetClass parent;
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
64
35447
5a8d59fd6c2e Add /*< private >*/ for all padding members in libgnt
Ankit Vani <a@nevitus.org>
parents: 35446
diff changeset
65 /*< private >*/
13997
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
66 void (*gnt_reserved1)(void);
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
67 void (*gnt_reserved2)(void);
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
68 void (*gnt_reserved3)(void);
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
69 void (*gnt_reserved4)(void);
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
70 };
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
71
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
72 G_BEGIN_DECLS
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
73
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
74 /**
35408
5f7ccec14f33 Convert docs from doxygen to gtk-doc format for gnt to gntprogressbar
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
75 * gnt_combo_box_get_gtype:
5f7ccec14f33 Convert docs from doxygen to gtk-doc format for gnt to gntprogressbar
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
76 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
77 * Returns: Get the GType for GntComboBox
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
78 */
35379
ea1a0327001e Rename _get_gtype() functions in libgnt to _get_type()
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
79 GType gnt_combo_box_get_type(void);
13997
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
80
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
81 /**
35408
5f7ccec14f33 Convert docs from doxygen to gtk-doc format for gnt to gntprogressbar
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
82 * gnt_combo_box_new:
5f7ccec14f33 Convert docs from doxygen to gtk-doc format for gnt to gntprogressbar
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
83 *
18293
2488837df755 Added some docs
Eric Polino <aluink@pidgin.im>
parents: 17586
diff changeset
84 * Create a new GntComboBox
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
85 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
86 * Returns: A new GntComboBox
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
87 */
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
88 GntWidget * gnt_combo_box_new(void);
13997
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
89
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
90 /**
35408
5f7ccec14f33 Convert docs from doxygen to gtk-doc format for gnt to gntprogressbar
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
91 * gnt_combo_box_add_data:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
92 * @box: The GntComboBox
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
93 * @key: The data
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
94 * @text: The text to display
18293
2488837df755 Added some docs
Eric Polino <aluink@pidgin.im>
parents: 17586
diff changeset
95 *
35408
5f7ccec14f33 Convert docs from doxygen to gtk-doc format for gnt to gntprogressbar
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
96 * Add an entry
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
97 */
13997
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
98 void gnt_combo_box_add_data(GntComboBox *box, gpointer key, const char *text);
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
99
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
100 /**
35408
5f7ccec14f33 Convert docs from doxygen to gtk-doc format for gnt to gntprogressbar
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
101 * gnt_combo_box_remove:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
102 * @box: The GntComboBox
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
103 * @key: The data to be removed
31293
169eeb43b52c Remove trailing whitespace
Richard Laager <rlaager@pidgin.im>
parents: 20198
diff changeset
104 *
35408
5f7ccec14f33 Convert docs from doxygen to gtk-doc format for gnt to gntprogressbar
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
105 * Remove an entry
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
106 */
14555
0d6ef581e3ac [gaim-migrate @ 17212]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14041
diff changeset
107 void gnt_combo_box_remove(GntComboBox *box, gpointer key);
0d6ef581e3ac [gaim-migrate @ 17212]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14041
diff changeset
108
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
109 /**
35408
5f7ccec14f33 Convert docs from doxygen to gtk-doc format for gnt to gntprogressbar
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
110 * gnt_combo_box_remove_all:
5f7ccec14f33 Convert docs from doxygen to gtk-doc format for gnt to gntprogressbar
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
111 * @box: The GntComboBox
18293
2488837df755 Added some docs
Eric Polino <aluink@pidgin.im>
parents: 17586
diff changeset
112 *
35408
5f7ccec14f33 Convert docs from doxygen to gtk-doc format for gnt to gntprogressbar
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
113 * Remove all entries
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
114 */
14555
0d6ef581e3ac [gaim-migrate @ 17212]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14041
diff changeset
115 void gnt_combo_box_remove_all(GntComboBox *box);
0d6ef581e3ac [gaim-migrate @ 17212]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14041
diff changeset
116
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
117 /**
35408
5f7ccec14f33 Convert docs from doxygen to gtk-doc format for gnt to gntprogressbar
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
118 * gnt_combo_box_get_selected_data:
5f7ccec14f33 Convert docs from doxygen to gtk-doc format for gnt to gntprogressbar
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
119 * @box: The GntComboBox
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
120 *
18293
2488837df755 Added some docs
Eric Polino <aluink@pidgin.im>
parents: 17586
diff changeset
121 * Get the data that is currently selected
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
122 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
123 * Returns: The data of the currently selected entry
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
124 */
13997
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
125 gpointer gnt_combo_box_get_selected_data(GntComboBox *box);
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
126
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
127 /**
35408
5f7ccec14f33 Convert docs from doxygen to gtk-doc format for gnt to gntprogressbar
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
128 * gnt_combo_box_set_selected:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
129 * @box: The GntComboBox
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 31293
diff changeset
130 * @key: The data to be set to
18293
2488837df755 Added some docs
Eric Polino <aluink@pidgin.im>
parents: 17586
diff changeset
131 *
35408
5f7ccec14f33 Convert docs from doxygen to gtk-doc format for gnt to gntprogressbar
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
132 * Set the current selection to a specific entry
17586
5beb8d987e84 applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
Eric Polino <aluink@pidgin.im>
parents: 15991
diff changeset
133 */
14041
6afba85cfc30 [gaim-migrate @ 16540]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 13997
diff changeset
134 void gnt_combo_box_set_selected(GntComboBox *box, gpointer key);
6afba85cfc30 [gaim-migrate @ 16540]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 13997
diff changeset
135
13997
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
136 G_END_DECLS
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
137
546ca912cb25 [gaim-migrate @ 16466]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
138 #endif /* GNT_COMBO_BOX_H */

mercurial