g_signal_connect_swapped( G_OBJECT( button ), "clicked", G_CALLBACK( gtk_widget_destroy ), (void *) window ); // connect the click event to close the window
vbox.pack_start( button, FALSE, FALSE, 2 ); // insert the button in the box
g_signal_connect_swapped( G_OBJECT( button ), "clicked", G_CALLBACK( gtk_widget_destroy ), (void *) window ); // connect the click event to close the window
vbox.pack_start( button, FALSE, FALSE, 2 ); // insert the button in the box