Re: Visible size of GnomeCanvas



Jean-Christophe Berthon wrote:
> We have a GnomeCanvas set to a size larger than the window. The user uses
> the scrollbars to move the canvas and see the hidden parts.
> For a certain purpose, we need to know the size of the visible area (the
> area which is currently visible within the border of the window).
> How to get this size?

Hi, one solution is to listen for changes in the adjustments for the 
scrollbars and update your own left/top/width/height from there.

John



========================================================== 
Aelbert Cuyp 13 February - 12 May 2002 

For information and tickets: 
http://www.nationalgallery.org.uk/exhibitions/cuyp/



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