1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-14 19:05:33 +00:00
mpv/Gui/mplayer/gtk/common.h
pontscho ea631b6c18 correct widget destroy event handler (thank for D J Hawkey Jr <hawkeyd@visi.com>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8720 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-02 15:48:29 +00:00

24 lines
1.0 KiB
C

#ifndef __COMMON_H
#define __COMMON_H
#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>
extern GtkWidget * AddDialogFrame( GtkWidget * parent );
extern GtkWidget * AddFrame( char * title,int type,GtkWidget * parent,int add );
extern GtkWidget * AddLabel( char * title,GtkWidget * parent );
extern GtkWidget * AddVBox( GtkWidget * parent,int type );
extern GtkWidget * AddHBox( GtkWidget * parent,int type );
extern GtkWidget * AddCheckButton( char * title, GtkWidget * parent );
extern GtkWidget * AddRadioButton( char * title,GSList ** group,GtkWidget * parent );
extern GtkWidget * AddButton( char * title,GtkWidget * parent );
extern GtkWidget * AddHSeparator( GtkWidget * parent );
extern GtkWidget * AddHButtonBox( GtkWidget * parent );
extern GtkWidget * AddHScaler( GtkAdjustment * adj,GtkWidget * parent,int digit );
extern GtkWidget * AddVScaler( GtkAdjustment * adj,GtkWidget * parent,int digit );
extern GtkWidget * AddComboBox( GtkWidget * parent );
extern void WidgetDestroy( GtkWidget * widget,GtkWidget ** widget_pointer );
#endif