1 /* gtk_explode - Test program looking for a possible GTK+ bug
3 * Author: Carl Worth <carl@theworths.org>
11 main (int argc, char *argv[])
17 gtk_init (&argc, &argv);
19 window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
21 gtk_window_set_title (GTK_WINDOW (window), "Ricochet Robot");
23 g_signal_connect (G_OBJECT (window), "destroy",
24 G_CALLBACK (exit), NULL);
26 vbox = gtk_vbox_new (FALSE, 5);
27 gtk_container_add (GTK_CONTAINER (window), vbox);
29 text_view = gtk_text_view_new ();
30 gtk_container_add (GTK_CONTAINER (vbox), text_view);
31 gtk_widget_show (text_view);
33 gtk_widget_show (vbox);
35 gtk_widget_show (window);