mp3splt-gtk

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

widgets_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: io_fx@yahoo.fr
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
28 * USA.
29 *
30 *********************************************************/
31
32 #ifndef WIDGETS_HELPER_H
33
34 #include <gtk/gtk.h>
35
36 #include "ui_manager.h"
37
38 GtkWidget *wh_set_title_and_get_vbox(GtkWidget *widget, const gchar *title);
39
40 GtkWidget *wh_put_in_new_hbox_with_margin_level(GtkWidget *widget, gint margin_level);
41
42 GtkWidget *wh_new_table();
43 void wh_add_in_table(GtkWidget *table, GtkWidget *widget);
44 void wh_add_in_table_with_label(GtkWidget *table, const gchar *label_text,
45 GtkWidget *widget);
46 void wh_add_in_table_with_label_expand(GtkWidget *table, const gchar *label_text,
47 GtkWidget *widget);
48
49 GtkWidget *wh_new_entry(gpointer callback);
50
51 GtkWidget *wh_new_button(const gchar *button_label);
52
53 void wh_get_widget_size(GtkWidget *widget, gint *width, gint *height);
54
55 void wh_set_browser_directory_handler(ui_state *ui, GtkWidget* dialog);
56
57 #define WIDGETS_HELPER_H
58 #endif
59