Generic function
Returns true if the specified frame is mapped.
frame-mapped? frame => mapped?
<frame>.
<boolean>.
duim-frames
duim-frames
Returns true if frame is mapped, that is, is currently displayed on-screen. Note that a frame is considered to be mapped if it is anywhere on the screen, even if it is not completely visible because other windows are covering it either partially or completely, or if it is iconized.
The following example creates a simple frame, then displays it and exits it. In between starting and exiting the frame, frame-mapped? is called. 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-mapped?(*frame*);RETURN
=> #texit-frame(*frame*);RETURN
frame-mapped?(*frame*);RETURN
=> #f