Re: [gtk-list] Re: scrolled image
- From: John Cupitt <john cupitt ng-london org uk>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: scrolled image
- Date: Tue, 18 Apr 2000 14:20:01 +0100
Chris Phelps wrote:
> > I simple want to open the image and display the window without scrollbars
> > (if the image fits into the screen), letting then scrollbars appear when the
> > user resizes the window making it smaller then the image size.
> > I think its the standard behaviour of every image displayer.
> > Maybe, when i first open the image i could add some pixel displacement
> > taking into account the size of the scrollbars. But even if this would be
> > possibile , i think the results could be different depending on the window
> > manager and the themes used.
You could try taking a look at the GIMP sources, they do this.
John Cupitt, firstname.lastname@example.org, +44 (0)20 7747 2570
VASARI Lab, The National Gallery, Trafalgar Square, London, WC2N 5DN
] [Thread Prev