fixed widget sizes



Hi

I want to make an application which displays an image.
I want the window to have a fixed size, and use
scrollbars to scroll through the image if it is too large.

But when i add a Gtk::Image to a widget, it (and the enclosing containers)
always grow to the size of the image.
How can i tell a widget (e.g. the Gtk::Image) not to change its size?
How can i in general set the size a window or a widget should have at startup?


Thank YOu
  Jody


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