Peter Miller wrote:
> When I put a PapyrusGtk::Viewport inside a Gtk::ScrolledWindow, is there
> a way to have the window's initial size be the size of the canvas? (or
> as large as possible if the canvas is bigger than the screen)
> If I use set_size on the canvas, the scroll bars are correct, but the
> window is as small as the window manager will allow.
> If I use set_size_request on the scrolled window, the window will not
> What is the right way to do this?
Unfortunately that's an important interaction that I have wanted to get
working, but just haven't had the time yet. I think the ideal solution
would have the Viewport provide an interface similar to scrolled window.
The reason I was thinking about not inheriting from ScrolledWindow is
because IIRC ScrolledWindow reports the virtual window size (not the
physical size) to the contained window. When the virtual size is much
larger than the physical size this would have an adverse effect on the