Re: [gtk-list] Re: scrolled image



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
--
John Cupitt, john.cupitt@ng-london.org.uk, +44 (0)20 7747 2570
VASARI Lab, The National Gallery, Trafalgar Square, London, WC2N 5DN



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