(make-object mred:connections-frame% parent title x y width height style name) -> mred:connections-frame% object
parent : wx:frame% object or null
title : string or null
x = -1 : small integer
y = -1 : small integer
width = -1 : small integer
height = -1 : small integer
style = (bitwise-ior wx:const-sdi wx:const-default-frame) : small integer
name = "frame" : string
The parent parameter can be null or an existing frame; if
an existing frame is used under Windows, the child frame is always on
top of the parent, and will be iconized when the parent is iconized.
If title is not null, it is used as the dialog box
title; otherwise, a default title is used.
The style argument may be a bitwise-ior combination of the following:
- wx:const-iconize or wx:const-minimize -- displays the frame initially iconized (Windows)
- wx:const-caption -- puts a caption on the frame (Windows)
- wx:const-mdi-child -- creates the frame as a MDI (multiple document interface) child frame (Windows)
- wx:const-mdi-parent -- creates the frame as a MDI (multiple document interface) parent frame (Windows)
- wx:const-minimize-box -- displays a minimize box on the frame (Windows, X Windows Motif)
- wx:const-maximize -- displays the frame initially maximized (Windows)
- wx:const-maximize-box -- displays a maximize box on the frame (Windows, X Windows Motif)
- wx:const-sdi -- creates the frame as a normal SDI (single document interface) frame
- wx:const-stay-on-top -- the frame stays on top of other windows (Windows)
- wx:const-system-menu -- displays a system menu (Windows, X Windows Motif)
- wx:const-thick-frame -- displays a thick frame around the window (Windows, X Windows Motif)
- wx:const-resize-border -- displays a resizeable border around the window (X Windows Motif) or grow box in the bottom right corner (MacOS)
- wx:const-tiny-caption-horiz -- displays a small horizontal caption; use instead of wx:const-caption (Windows)
- wx:const-tiny-caption-vert -- displays a small vertical; use instead of
wx:const-caption (Windows)
(Use 0 for no flags.)
The flag value wx:const-default-frame is defined as
(bitwise-ior wx:const-minimize-box wx:const-maximize-box wx:const-resize-border wx:const-thick-frame wx:const-system-menu wx:const-caption).
The name argument is used to associate a name with the frame, allowing the application user to set X Windows resource values for each individual frame.