2002-11-12 21:51:08 +00:00
|
|
|
|
|
|
|
#ifndef __COMMON_H
|
|
|
|
#define __COMMON_H
|
|
|
|
|
|
|
|
#include <gdk/gdkkeysyms.h>
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
|
2002-11-27 22:48:56 +00:00
|
|
|
extern GtkWidget * AddDialogFrame( GtkWidget * parent );
|
2002-11-12 21:51:08 +00:00
|
|
|
extern GtkWidget * AddFrame( char * title,int type,GtkWidget * parent,int add );
|
|
|
|
extern GtkWidget * AddLabel( char * title,GtkWidget * parent );
|
2002-11-27 22:48:56 +00:00
|
|
|
extern GtkWidget * AddVBox( GtkWidget * parent,int type );
|
2002-11-12 21:51:08 +00:00
|
|
|
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 );
|
2002-11-27 22:48:56 +00:00
|
|
|
extern GtkWidget * AddVScaler( GtkAdjustment * adj,GtkWidget * parent,int digit );
|
|
|
|
extern GtkWidget * AddComboBox( GtkWidget * parent );
|
2003-01-02 15:48:29 +00:00
|
|
|
extern void WidgetDestroy( GtkWidget * widget,GtkWidget ** widget_pointer );
|
2002-11-12 21:51:08 +00:00
|
|
|
|
|
|
|
#endif
|