Re: Visible size of GnomeCanvas
- From: John Cupitt ng-london org uk
- To: Jean-Christophe Berthon cgey com
- Cc: gtk-list gnome org
- Subject: Re: Visible size of GnomeCanvas
- Date: Tue, 2 Apr 2002 12:40:46 +0100
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]