getting the size of a drawing area
- From: John C Atkeson <jcatkeson juno com>
- To: gtk-list redhat com
- Subject: getting the size of a drawing area
- Date: Thu, 02 Dec 1999 13:35:04 EST
I'm using widget->allocation.width and .height to determine the shape
of my drawing area at runtime, but am getting funny results.
I set allocation.width and .height to 700x500 at startup - and they
stick there for the entire life of the program, even after the user has
resized the window/widget many times and the drawing_area is obviously no
longer those proportions.
How can one not be equal to the other?
John
___________________________________________________________________
Get the Internet just the way you want it.
Free software, free e-mail, and free Internet access for a month!
Try Juno Web: http://dl.www.juno.com/dynoget/tagj.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]