mp3splt-gtk
combo_helper.h
1 /**********************************************************
2  *
3  * mp3splt-gtk -- utility based on mp3splt,
4  * for mp3/ogg splitting without decoding
5  *
6  * Copyright: (C) 2005-2012 Alexandru Munteanu
7  * Contact: m@ioalex.net
8  *
9  * http://mp3splt.sourceforge.net/
10  *
11  *********************************************************/
12 
13 /**********************************************************
14  *
15  * This program is free software; you can redistribute it and/or
16  * modify it under the terms of the GNU General Public License
17  * as published by the Free Software Foundation; either version 2
18  * of the License, or (at your option) any later version.
19  *
20  * This program is distributed in the hope that it will be useful,
21  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23  * GNU General Public License for more details.
24  *
25  * You should have received a copy of the GNU General Public License
26  * along with this program; if not, write to the Free Software
27  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
28  * USA.
29  *
30  *********************************************************/
31 
32 #ifndef COMBO_HELPER_H
33 
34 #include <gtk/gtk.h>
35 
36 GtkComboBox *ch_new_combo();
37 void ch_append_to_combo(GtkComboBox *combo, const gchar *text, gint value);
38 gint ch_get_active_value(GtkComboBox *combo);
39 gchar *ch_get_active_str_value(GtkComboBox *combo);
40 void ch_set_active_value(GtkComboBox *combo, gint value);
41 void ch_set_active_str_value(GtkComboBox *combo, gchar *new_value);
42 
43 #define COMBO_HELPER_H
44 #endif
45