Posted: Sun Mar 09, 2008 2:32 am Post subject: [gtkmm]set_resizable doesn't work as expected
Hi I am trying to figure out how gtkmm works. So I am just "extending" the functionality of the hello program found in the gtkmm tutorial:
Code: (Plaintext)
1 2 3 4 5 6 7 8 9 10
int main(int argc, char *argv[])
{
Gtk::Main kit(argc, argv);
Gtk::Window window;
Gtk::Main::run(window);
return 0;
}
I was trying to find a way to make my window unresizable from the user. So according to the documentation the "set_resizable()" does the job. But when I try it the resulting window is really really small maybe 1x1 pixel. I tried using "resize()" but nothing changes.So here's the code: