(make-object frame:pasteboard% label parent width height x y style) -> frame:pasteboard% object
label : string
parent = #f : frame% object or #f
width = #f : exact integer in [0, 10000] or #f
height = #f : exact integer in [0, 10000] or #f
x = #f : exact integer in [0, 10000] or #f
y = #f : exact integer in [0, 10000] or #f
style = null : list of symbols in '(no-resize-border no-caption no-system-menu mdi-parent mdi-child)
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:
- 'no-resize-border -- omits the resizeable border
around the window (Windows) or grow box in the bottom right corner
(MacOS)
- 'no-caption -- omits the title bar for the frame
(Windows)
- 'no-system-menu -- omits the system menu
(Windows)
- 'mdi-child -- creates the frame as a MDI
(multiple document interface) child frame, mutually exclsuive with
'mdi-parent (Windows)
- 'mdi-parent -- creates the frame as a MDI
(multiple document interface) parent frame, mutually exclsuive with
'mdi-child (Windows)
If the 'mdi-child style is specified, the parent must be
a frame with the 'mdi-parent style, otherwise an exn:application:mismatch exception is raised.