A dialog is a top-level window that is modal: while the dialog is shown, all other top-level windows in the dialog's eventspace are disabled.
The label string is used as the dialog's title in its title bar. If the dialog's label is changed (see set-label ), the title bar is updated.
The parent argument can be #f or an existing frame. Under Windows, if parent is an existing frame, the new dialog is always on top of its parent. Under Windows and X, a dialog is iconized when its parent is iconized.
If parent is #f, then the eventspace for the new dialog is the current eventspace, as determined by current-eventspace . Otherwise, parent's eventspace is the new dialog's eventspace.
If the width or height argument is not #f, it specifies an initial size for the dialog (in pixles) assuming that it is larger than the minimum size, otherwise the minimum size is used. Under Windows and MacOS (and with some X window managers) dialogs are not resizeable.
If the x or y argument is not #f, it specifies an initial location for the dialog. Otherwise, a location is selected automatically (tiling frames and dialogs as they are created).
The style flags adjust the appearance of the dialog on some platforms:
Even if the dialog is not shown, a few notification events may be queued for the dialog on creation. Consequently, the new dialog's resources (e.g., memory) cannot be reclaimed until some events are handled, or the dialog's eventspace is shut down.