How do you get current window geometry?
- From: Thomas Ledbetter <tledbett revelstone net>
- To: gtk-perl-list gnome org
- Subject: How do you get current window geometry?
- Date: Fri, 28 Sep 2001 23:30:50 -0400
'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
$window->TOPLEVEL->x.
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]