#include <gtk/gtk.h>

int main( int argc, char *argv[]) {
	GtkWidget *window;
	GtkWidget *notebook;

	gtk_init(&argc, &argv);

	window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
	g_signal_connect(G_OBJECT(window), "destroy", G_CALLBACK(gtk_main_quit), NULL);
	
	notebook = gtk_notebook_new();
	gtk_notebook_set_tab_pos(GTK_NOTEBOOK(notebook), GTK_POS_BOTTOM);
	gtk_notebook_append_page(GTK_NOTEBOOK(notebook), gtk_hbox_new(FALSE, 0),
			gtk_label_new("Tab"));

	gtk_container_add(GTK_CONTAINER(window), notebook);
	gtk_widget_show_all(window);
	gtk_main();

	return 0;
}