[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: repositioning step window
- To: Eliot Handelman <eliot@clarity.Princeton.EDU>
- Subject: Re: repositioning step window
- From: Bill St. Clair <bill>
- Date: Mon, 25 Feb 91 10:38:57 -0500
- Cc: info-macl@cambridge.apple.com
- In-reply-to: Your message of Sat, 23 Feb 91 14:29:21 -0500. <9102231929.AA19421@clarity.Princeton.EDU>
Date: Sat, 23 Feb 91 14:29:21 EST
From: Eliot Handelman <eliot@clarity.Princeton.EDU>
To: info-macl@cambridge.apple.com
Subject: repositioning step window
Hello,
is it possible to specify coordinates for the step window
so that it doesn't show up with top:left = 0:0? It happens I'm drawing
something right at that location that I'd like to step.
Thanks,
--eliot handelman
cognitive science, princeton u.
Something like this should work (warning, untested code follows):
(defvar *ccl-step-window* ccl::*step-fred-window*)
(setq ccl::*step-fred-window* (kindof *ccl-step-window*))
(defvar *step-window-position* (make-point -X- -Y-)) ; fill in -X- & -Y-
(defobfun (exist ccl::*step-fred-window*) (args)
(usual-exist args)
(let ((dialog (objvar ccl::my-step-dialog)))
(ask dialog (set-window-position *step-window-position*))
(set-window-position (add-points *step-window-position* #@(6 6)))))