]> Pileus Git - ~andy/gtk/commitdiff
Set the notebook to be scrollable
authorMatthias Clasen <mclasen@redhat.com>
Sat, 2 Feb 2013 02:46:07 +0000 (21:46 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 2 Feb 2013 02:46:07 +0000 (21:46 -0500)
The pixbufs example has just too many files..

demos/gtk-demo/main.c

index 8bf10147878568d97e97101d7fbf94e09c653669..80a51bcc810ad31b7c8e2f5b45619b2293b19fda 100644 (file)
@@ -894,6 +894,7 @@ main (int argc, char **argv)
   gtk_box_pack_start (GTK_BOX (hbox), tree, FALSE, FALSE, 0);
 
   notebook = gtk_notebook_new ();
+  gtk_notebook_set_scrollable (GTK_NOTEBOOK (notebook), TRUE);
   gtk_box_pack_start (GTK_BOX (hbox), notebook, TRUE, TRUE, 0);
 
   gtk_notebook_append_page (GTK_NOTEBOOK (notebook),