From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell McManus To: Marius Vollmer Cc: guile-gtk@sourceware.cygnus.com, Russell McManus Subject: Re: getting the size and origin of a GtkWindow Date: Mon, 05 Feb 2001 04:55:00 -0000 Message-id: References: <200101292106.QAA10520@hqsmh3.ms.com> <87puh6x7mw.fsf@zagadka.ping.de> <87snlu74b3.fsf@zagadka.ping.de> X-SW-Source: 2001-q1/msg00010.html Marius Vollmer writes: > Ahh, I see. gdk-window-get-size is already there, but > gdk-window-get-origin needs to be added (which I have done in CVS). > You can use them like this: > > (define w (gtk-window-new 'toplevel)) > ... > (gdk-window-get-size (gtk-widget-window w)) > => (200 . 200) > > As you can see, the functions return the two coordinates as a cons of > two numbers. > > Does this help? You betcha. Now I just have to figure out how to get anon CVS access out through my firewall at work (I can 'runsocks ssh' anywhere on the net, so I think it is possible). Thanks for looking at this. -russ -- A computer lets you make more mistakes faster than any invention in human history with the possible exceptions of handguns and tequila. -- Mitch Ratliffe, Technology Review, April, 1992