#include <gtk/gtk.h>

int main(int argc, char *argv[])
{
	GtkWidget *om;
	GtkWidget *w;
	GtkWidget *m;
	GtkWidget *item;
	gint i;
	gtk_init (&argc, &argv);
	
	w = gtk_window_new (GTK_WINDOW_TOPLEVEL);
	
	om = gtk_option_menu_new ();
	gtk_widget_show (om);
	
	m = gtk_menu_new ();
	gtk_widget_show (m);
	
	for(i = 0; i < 20; i++) {
		item = gtk_menu_item_new_with_label ("line");
		gtk_widget_show (item);
		gtk_container_add (GTK_CONTAINER (m), item);
	}

	gtk_option_menu_set_menu (GTK_OPTION_MENU (om), m);
	
	gtk_container_add (GTK_CONTAINER (w), om);
	gtk_window_move (GTK_WINDOW (w), 0, gdk_screen_height () - 20);

	gtk_widget_show (w);
	
	
	gtk_main ();
	return 0;
}
