A frame is a top-level container window. It has a title bar (which displays the frame's label), an optional menu bar, and an optional status line.
Under Windows, both Multiple Document Interface (MDI) and Single Document Interface (SDI) frames are supported.
The label string is displayed in the frame's title bar. If the frame'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 frame is always on top of its parent. Also, the parent frame may be an MDI parent frame from a new MDI child frame. Under Windows and X (for many window wanagers), a frame is iconized when its parent is iconized.
If parent is #f, then the eventspace for the new frame is the current eventspace, as determined by current-eventspace . Otherwise, parent's eventspace is the new frame's eventspace.
If the width or height argument is not #f, it specifies an initial size for the frame (assuming that it is larger than the minimum size), otherwise the minimum size is used.
If the x or y argument is not #f, it specifies an initial location for the frame. Otherwise, a location is selected automatically (tiling frames and dialogs as they are created).
The style flags adjust the appearance of the frame on some platforms: