simple example of gtk-scrolled-window not working

2005-07-26 Thread David Morse
I took the hello world example from the gtk+2 tutorial, but with a gtk_scrolled_window. The resulting program runs fine except that THERE'S NO WINDOW VISIBLE ON THE SCREEN! What am I doing wrong? The source is attached, you can quickly find the changed lines because the originals are commented

Re: simple example of gtk-scrolled-window not working

2005-07-26 Thread Tristan Van Berkom
David Morse wrote: [...] The source is attached, hehe, no its not. you can quickly find the changed lines because the originals are commented with the c++ '//' comments. Basically I replaced gtk_window_new() with gtk_scrolled_window_new(), and also gtk_container_add() with