How do you get current window geometry?

  'Hey all..

  Anyone know how to get the current window geometry? 

  I've been able to nab the height and width in several different ways,
but am always getting values of -1 from things like

  I even discovered:

($x,$y,$w,$h,$d) = $window->TOPLEVEL->window->get_geometry() 

  from the sample programs (looks like this is getting 'down into' GDK?)
but it still does not return the _current_ window position.

  This cant be all that difficult.. 'anyone know offhand?

Thomas Ledbetter                                              GCS/MU 
tledbett revelstone net                                    ULVS++++$

                  L       I       N       U       X   

 'The apparent randomness with which the universe presents itself,
  is proof that it operates on an inherent higher order..'

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