mp3splt-gtk

- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

radio_helper.h
1 /**********************************************************
2 *
3 * mp3splt-gtk -- utility based on mp3splt,
4 * for mp3/ogg splitting without decoding
5 *
6 * Copyright: (C) 2005-2013 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 RADIO_HELPER_H
33
34 #define RADIO_HELPER_H
35
36 #include "external_includes.h"
37
38 GtkWidget *rh_append_radio_to_vbox(GtkWidget *radio_button, const gchar *text,
39 gint value, void (*callback)(GtkToggleButton *, gpointer),
40 gpointer callback_data, GtkWidget *vbox);
41 gint rh_get_active_value(GtkWidget *radio_button);
42 void rh_set_radio_value(GtkWidget *radio_button, gint key_value, gboolean value);
43
44 #endif
45