#include "xpm/play.xpm"
static void quit(
void *wid, gpointer data){
gtk_main_quit();
}
static void saveToImage(GtkWidget *wid, gpointer data){
widget.saveToPNGFile("widget.png");
}
static void toggleButton(void *widget, gpointer data){
cout<<"ToggleButton "<<gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widget))<<endl;
}
static void playButton(void *widget, gpointer data){
cout<<"playButton "<<endl;
}
int main(
int argc,
char *argv[]){
gtk_init( &argc, &argv );
hBox<<buttons;
topWindow<< hBox;
gtk_main();
}