Generic function
Returns the visible state of the specified frame.
frame-state frame => state
<frame>.
one-of(#"detached", #"unmapped", #"mapped", #"iconified", #"destroyed").
duim-frames
duim-frames
Returns the visible state of the specified frame. The return value from this function indicates whether frame is currently iconified, whether it is mapped or unmapped, whether it has been destroyed, or whether it has become detached from the thread of which it was a part.
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-state(*frame*);RETURN
=> #"mapped"