getting the size of a drawing area



  
  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]