Re: Layout problems when getting widgets from glade file



Peter E Dennis wrote:
What I'm trying to do is to get the program using the glade file to
look like the one that isn't.  I would ideally like to be able to use
glade than hand code the entire gui.
Try setting the default window size for the main window with
Gtk2::Window::set_default_size.

Thanks, I tried:
Gtk2::Window::set_default_size($main_window, 5, 5);

These are pixel values, so try something like

  $window->set_default_size (300, 100);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]