show in dialog%
Shows or hides a window.
The visibility of a window can be changed
by the user clicking the window's close box, for example, and such changes do not go through this method; use on-superwindow-show or on-close to
monitor visibility changes.
( -> void
send a-dialog show show?)
show? : boolean
If show? is #f, the window is hidden. Otherwise, the
window is shown.
If the window is already shown, it is moved front of other top-level windows. If the window is iconized (frames only), it is deiconized.
If show? is true, the dialog is shown and all frames (and other
dialogs) in the eventspace become disabled until the dialog is
closed. If show? is false, the dialog is hidden and other
frames and dialogs are re-enabled (unless a different, pre-existing
dialog is still shown).
If show? is true, the method does not immediately return. Instead,
it loops with yield until the dialog is found to be hidden
between calls to yield. An internal semaphore is used with
yield to avoid a busy-wait, and to ensure that the show
method returns as soon as possible after the dialog is hidden.