Generic function
Returns the position on the screen of the specified frame.
frame-position frame => x y
<frame>.
<integer>.
<integer>.
duim-frames
duim-frames
Returns the position on the screen of frame. Coordinates are expressed relative to the top left corner of the screen, measured in pixels.
The following example creates a simple frame, then displays it and tests its position. You should run this code in the interactor, pressing the RETURN key at the points indicated.
define variable *frame* =
make(<simple-frame>, title: "A frame",
layout: make(<button>));RETURNstart-frame(*frame*);RETURN
frame-position(*frame*);RETURN