mp3splt-gtk
|
00001 /********************************************************** 00002 * 00003 * mp3splt-gtk -- utility based on mp3splt, 00004 * for mp3/ogg splitting without decoding 00005 * 00006 * Copyright: (C) 2005-2012 Alexandru Munteanu 00007 * Contact: io_fx@yahoo.fr 00008 * 00009 * http://mp3splt.sourceforge.net/ 00010 * 00011 *********************************************************/ 00012 00013 /********************************************************** 00014 * 00015 * This program is free software; you can redistribute it and/or 00016 * modify it under the terms of the GNU General Public License 00017 * as published by the Free Software Foundation; either version 2 00018 * of the License, or (at your option) any later version. 00019 * 00020 * This program is distributed in the hope that it will be useful, 00021 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00022 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00023 * GNU General Public License for more details. 00024 * 00025 * You should have received a copy of the GNU General Public License 00026 * along with this program; if not, write to the Free Software 00027 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 00028 * USA. 00029 * 00030 *********************************************************/ 00031 00032 #ifndef WIDGETS_HELPER_H 00033 00034 #include <gtk/gtk.h> 00035 00036 #include "ui_manager.h" 00037 00038 GtkWidget *wh_set_title_and_get_vbox(GtkWidget *widget, const gchar *title); 00039 00040 GtkWidget *wh_put_in_new_hbox_with_margin_level(GtkWidget *widget, gint margin_level); 00041 00042 GtkWidget *wh_new_table(); 00043 void wh_add_in_table(GtkWidget *table, GtkWidget *widget); 00044 void wh_add_in_table_with_label(GtkWidget *table, const gchar *label_text, 00045 GtkWidget *widget); 00046 void wh_add_in_table_with_label_expand(GtkWidget *table, const gchar *label_text, 00047 GtkWidget *widget); 00048 00049 GtkWidget *wh_new_entry(gpointer callback); 00050 00051 GtkWidget *wh_new_button(const gchar *button_label); 00052 00053 void wh_get_widget_size(GtkWidget *widget, gint *width, gint *height); 00054 00055 void wh_set_browser_directory_handler(ui_state *ui, GtkWidget* dialog); 00056 00057 #define WIDGETS_HELPER_H 00058 #endif 00059