Getting screen position
- From: Steve Fox <drfickle k-lug org>
- To: gtk-perl list <gtk-perl-list gnome org>
- Subject: Getting screen position
- Date: 05 Dec 2002 09:47:16 -0600
I'm a bit stumped at trying to get screen position. I need to save the
window position at the time of closing. This is what I'm doing:
my ($x, $y, $w, $h) = @{$win->allocation};
This fills in window size appropriately, but $x and $y are always zero.
Does anyone know a reliable way to get window position?
Thanks.
--
Steve Fox
http://k-lug.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]