frame:editor% = (frame:editor-mixin frame:standard-menus%)
frame:editor% = (frame:editor-mixin frame:standard-menus%)
( -> instantiate frame:editor% () (label _) [(parent _)] [(width _)] [(height _)] [(x _)] [(y _)] [(style _)] [(enabled _)] [(border _)] [(spacing _)] [(alignment _)] [(min-width _)] [(min-height _)] [(stretchable-width _)] [(stretchable-height _)])frame:editor% object
label : string (up to 200 characters)
parent = : #fframe% object or #f
width = : exact integer in [0, 10000] or #f#f
height = : exact integer in [0, 10000] or #f#f
x = : exact integer in [0, 10000] or #f#f
y = : exact integer in [0, 10000] or #f#f
style = : list of symbols in null'(no-resize-border no-caption no-system-menu mdi-parent mdi-child)
enabled = : boolean
#t
border = : exact integer in [0, 1000]
0
spacing = : exact integer in [0, 1000]
0
alignment = : two-element list: '(left top)'left, 'center or 'right and 'top, 'center or 'bottom
min-width = : exact integer in [0, 10000]
0
min-height = : exact integer in [0, 10000]
0
stretchable-width = : boolean
#t
stretchable-height = : boolean#t
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 managers), 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 (in pixels) 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, X MWM) or grow box in the bottom right
corner (Mac OS)
'no-caption -- omits the title bar for the frame
(Windows, X MWM)
(X Gnome, X KDE: the frame decoration is omitted completely when
'no-resize-border and 'no-caption are combined.)
'no-system-menu -- omits the system menu
(Windows)
'mdi-child -- creates the frame as a MDI
(multiple document interface) child frame, mutually exclusive with
'mdi-parent (Windows)
'mdi-parent -- creates the frame as a MDI
(multiple document interface) parent frame, mutually exclusive 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.
Even if the frame is not shown, a few notification events may be queued for the frame on creation. Consequently, the new frame's resources (e.g., memory) cannot be reclaimed until some events are handled, or the frame's eventspace is shut down.
For information about the
enabled
argument, see window<%>. For information about the
border, spacing, and alignment
arguments, see area-container<%>. For information about the
min-width, min-height, stretchable-width, and stretchable-height
arguments, see area<%>.
Methods
get-canvas
get-canvas<%>
get-canvas%
get-editor
get-editor<%>
get-editor%
get-entire-label
get-label-prefix
make-editor
save
save-as
set-label-prefix
All Methods
accept-drop-files from window<%>
add-child from area-container<%>
after-new-child from frame:basic-mixin
overrides after-new-child from area-container<%>
anchor-status-changed from frame:text-info<%>
begin-container-sequence from area-container<%>
border from area-container<%>
can-close? from frame:basic-mixin
overrides can-close? from top-level-window<%>
can-exit? from top-level-window<%>
center from top-level-window<%>
change-children from area-container<%>
client->screen from window<%>
close from frame:basic<%>
container-flow-modified from area-container<%>
container-size from area-container<%>
create-status-line from frame%
delete-child from area-container<%>
determine-width from frame:info<%>
edit-menu:after-preferences from frame:standard-menus<%>
edit-menu:between-clear-and-select-all from frame:standard-menus<%>
edit-menu:between-copy-and-paste from frame:standard-menus<%>
edit-menu:between-cut-and-copy from frame:standard-menus<%>
edit-menu:between-find-and-preferences from frame:standard-menus<%>
edit-menu:between-paste-and-clear from frame:standard-menus<%>
edit-menu:between-redo-and-cut from frame:standard-menus<%>
edit-menu:between-select-all-and-find from frame:editor-mixin
overrides edit-menu:between-select-all-and-find from frame:standard-menus<%>
edit-menu:clear-callback from frame:standard-menus<%>
edit-menu:clear-help-string from frame:standard-menus<%>
edit-menu:clear-on-demand from frame:standard-menus<%>
edit-menu:clear-string from frame:standard-menus<%>
edit-menu:copy-callback from frame:standard-menus<%>
edit-menu:copy-help-string from frame:standard-menus<%>
edit-menu:copy-on-demand from frame:standard-menus<%>
edit-menu:copy-string from frame:standard-menus<%>
edit-menu:create-clear? from frame:standard-menus<%>
edit-menu:create-copy? from frame:standard-menus<%>
edit-menu:create-cut? from frame:standard-menus<%>
edit-menu:create-find-again? from frame:standard-menus<%>
edit-menu:create-find? from frame:standard-menus<%>
edit-menu:create-paste? from frame:standard-menus<%>
edit-menu:create-preferences? from frame:standard-menus<%>
edit-menu:create-redo? from frame:standard-menus<%>
edit-menu:create-replace-and-find-again? from frame:standard-menus<%>
edit-menu:create-select-all? from frame:standard-menus<%>
edit-menu:create-undo? from frame:standard-menus<%>
edit-menu:cut-callback from frame:standard-menus<%>
edit-menu:cut-help-string from frame:standard-menus<%>
edit-menu:cut-on-demand from frame:standard-menus<%>
edit-menu:cut-string from frame:standard-menus<%>
edit-menu:find-again-callback from frame:standard-menus<%>
edit-menu:find-again-help-string from frame:standard-menus<%>
edit-menu:find-again-on-demand from frame:standard-menus<%>
edit-menu:find-again-string from frame:standard-menus<%>
edit-menu:find-callback from frame:standard-menus<%>
edit-menu:find-help-string from frame:standard-menus<%>
edit-menu:find-on-demand from frame:standard-menus<%>
edit-menu:find-string from frame:standard-menus<%>
edit-menu:get-clear-item from frame:standard-menus<%>
edit-menu:get-copy-item from frame:standard-menus<%>
edit-menu:get-cut-item from frame:standard-menus<%>
edit-menu:get-find-again-item from frame:standard-menus<%>
edit-menu:get-find-item from frame:standard-menus<%>
edit-menu:get-paste-item from frame:standard-menus<%>
edit-menu:get-preferences-item from frame:standard-menus<%>
edit-menu:get-redo-item from frame:standard-menus<%>
edit-menu:get-replace-and-find-again-item from frame:standard-menus<%>
edit-menu:get-select-all-item from frame:standard-menus<%>
edit-menu:get-undo-item from frame:standard-menus<%>
edit-menu:paste-callback from frame:standard-menus<%>
edit-menu:paste-help-string from frame:standard-menus<%>
edit-menu:paste-on-demand from frame:standard-menus<%>
edit-menu:paste-string from frame:standard-menus<%>
edit-menu:preferences-callback from frame:standard-menus<%>
edit-menu:preferences-help-string from frame:standard-menus<%>
edit-menu:preferences-on-demand from frame:standard-menus<%>
edit-menu:preferences-string from frame:standard-menus<%>
edit-menu:redo-callback from frame:standard-menus<%>
edit-menu:redo-help-string from frame:standard-menus<%>
edit-menu:redo-on-demand from frame:standard-menus<%>
edit-menu:redo-string from frame:standard-menus<%>
edit-menu:replace-and-find-again-callback from frame:standard-menus<%>
edit-menu:replace-and-find-again-help-string from frame:standard-menus<%>
edit-menu:replace-and-find-again-on-demand from frame:standard-menus<%>
edit-menu:replace-and-find-again-string from frame:standard-menus<%>
edit-menu:select-all-callback from frame:standard-menus<%>
edit-menu:select-all-help-string from frame:standard-menus<%>
edit-menu:select-all-on-demand from frame:standard-menus<%>
edit-menu:select-all-string from frame:standard-menus<%>
edit-menu:undo-callback from frame:standard-menus<%>
edit-menu:undo-help-string from frame:standard-menus<%>
edit-menu:undo-on-demand from frame:standard-menus<%>
edit-menu:undo-string from frame:standard-menus<%>
editor-position-changed from frame:text-info<%>
enable from window<%>
end-container-sequence from area-container<%>
file-menu:after-quit from frame:standard-menus<%>
file-menu:between-close-and-quit from frame:standard-menus<%>
file-menu:between-new-and-open from frame:standard-menus<%>
file-menu:between-open-and-revert from frame:standard-menus<%>
file-menu:between-print-and-close from frame:standard-menus<%>
file-menu:between-revert-and-save from frame:standard-menus<%>
file-menu:between-save-as-and-print from frame:standard-menus<%>
file-menu:close-callback from frame:standard-menus<%>
file-menu:close-help-string from frame:standard-menus<%>
file-menu:close-on-demand from frame:standard-menus<%>
file-menu:close-string from frame:standard-menus<%>
file-menu:create-close? from frame:standard-menus<%>
file-menu:create-new? from frame:standard-menus<%>
file-menu:create-open-recent? from frame:standard-menus<%>
file-menu:create-open? from frame:standard-menus<%>
file-menu:create-print? from frame:editor-mixin
overrides file-menu:create-print? from frame:standard-menus<%>
file-menu:create-quit? from frame:standard-menus<%>
file-menu:create-revert? from frame:editor-mixin
overrides file-menu:create-revert? from frame:standard-menus<%>
file-menu:create-save-as? from frame:editor-mixin
overrides file-menu:create-save-as? from frame:standard-menus<%>
file-menu:create-save? from frame:editor-mixin
overrides file-menu:create-save? from frame:standard-menus<%>
file-menu:get-close-item from frame:standard-menus<%>
file-menu:get-new-item from frame:standard-menus<%>
file-menu:get-open-item from frame:standard-menus<%>
file-menu:get-open-recent-item from frame:standard-menus<%>
file-menu:get-print-item from frame:standard-menus<%>
file-menu:get-quit-item from frame:standard-menus<%>
file-menu:get-revert-item from frame:standard-menus<%>
file-menu:get-save-as-item from frame:standard-menus<%>
file-menu:get-save-item from frame:standard-menus<%>
file-menu:new-callback from frame:standard-menus<%>
file-menu:new-help-string from frame:standard-menus<%>
file-menu:new-on-demand from frame:standard-menus<%>
file-menu:new-string from frame:standard-menus<%>
file-menu:open-callback from frame:standard-menus<%>
file-menu:open-help-string from frame:standard-menus<%>
file-menu:open-on-demand from frame:standard-menus<%>
file-menu:open-recent-callback from frame:standard-menus<%>
file-menu:open-recent-help-string from frame:standard-menus<%>
file-menu:open-recent-on-demand from frame:standard-menus<%>
file-menu:open-recent-string from frame:standard-menus<%>
file-menu:open-string from frame:standard-menus<%>
file-menu:print-callback from frame:editor-mixin
overrides file-menu:print-callback from frame:standard-menus<%>
file-menu:print-help-string from frame:standard-menus<%>
file-menu:print-on-demand from frame:standard-menus<%>
file-menu:print-string from frame:standard-menus<%>
file-menu:quit-callback from frame:standard-menus<%>
file-menu:quit-help-string from frame:standard-menus<%>
file-menu:quit-on-demand from frame:standard-menus<%>
file-menu:quit-string from frame:standard-menus<%>
file-menu:revert-callback from frame:editor-mixin
overrides file-menu:revert-callback from frame:standard-menus<%>
file-menu:revert-help-string from frame:standard-menus<%>
file-menu:revert-on-demand from frame:editor-mixin
overrides file-menu:revert-on-demand from frame:standard-menus<%>
file-menu:revert-string from frame:standard-menus<%>
file-menu:save-as-callback from frame:editor-mixin
overrides file-menu:save-as-callback from frame:standard-menus<%>
file-menu:save-as-help-string from frame:standard-menus<%>
file-menu:save-as-on-demand from frame:standard-menus<%>
file-menu:save-as-string from frame:standard-menus<%>
file-menu:save-callback from frame:editor-mixin
overrides file-menu:save-callback from frame:standard-menus<%>
file-menu:save-help-string from frame:standard-menus<%>
file-menu:save-on-demand from frame:standard-menus<%>
file-menu:save-string from frame:standard-menus<%>
focus from window<%>
get-alignment from area-container<%>
get-area-container from frame:basic<%>
get-area-container% from frame:basic<%>
get-canvas from frame:editor<%>
get-canvas<%> from frame:editor<%>
get-canvas% from frame:editor<%>
get-checkable-menu-item% from frame:standard-menus<%>
get-children from area-container<%>
get-client-size from window<%>
get-control-font from area-container-window<%>
get-cursor from window<%>
get-edit-menu from frame:standard-menus<%>
get-edit-target-object from top-level-window<%>
get-edit-target-window from top-level-window<%>
get-editor from frame:editor<%>
get-editor<%> from frame:editor<%>
get-editor% from frame:editor<%>
get-entire-label from frame:editor<%>
get-eventspace from top-level-window<%>
get-file-menu from frame:standard-menus<%>
get-filename from frame:editor-mixin
overrides get-filename from frame:basic<%>
get-focus-object from top-level-window<%>
get-focus-window from top-level-window<%>
get-graphical-min-size from area<%>
get-height from window<%>
get-help-menu from frame:standard-menus<%>
get-info-canvas from frame:info<%>
get-info-editor from frame:info<%>
get-info-panel from frame:info<%>
get-label from frame:editor-mixin
overrides get-label from window<%>
get-label-font from area-container-window<%>
get-label-position from area-container-window<%>
get-label-prefix from frame:editor<%>
get-menu-bar from frame%
get-menu-bar% from frame:basic<%>
get-menu-item% from frame:standard-menus<%>
get-menu% from frame:standard-menus<%>
get-parent from area<%>
get-plain-label from window<%>
get-size from window<%>
get-top-level-window from area<%>
get-width from window<%>
get-x from window<%>
get-y from window<%>
has-focus? from window<%>
has-status-line? from frame%
help-menu:about-callback from frame:editor-mixin
overrides help-menu:about-callback from frame:standard-menus<%>
help-menu:about-help-string from frame:standard-menus<%>
help-menu:about-on-demand from frame:standard-menus<%>
help-menu:about-string from frame:editor-mixin
overrides help-menu:about-string from frame:standard-menus<%>
help-menu:after-about from frame:standard-menus<%>
help-menu:before-about from frame:standard-menus<%>
help-menu:create-about? from frame:editor-mixin
overrides help-menu:create-about? from frame:standard-menus<%>
help-menu:get-about-item from frame:standard-menus<%>
iconize from frame%
is-enabled? from window<%>
is-iconized? from frame%
is-shown? from window<%>
lock-status-changed from frame:info<%>
make-editor from frame:editor<%>
make-root-area-container from frame:info-mixin
overrides make-root-area-container from frame:basic<%>
maximize from frame%
min-height from area<%>
min-width from area<%>
move from top-level-window<%>
on-activate from top-level-window<%>
on-close from frame:editor-mixin
overrides on-close from frame:standard-menus-mixin
overrides on-close from frame:text-info-mixin
overrides on-close from frame:info-mixin
overrides on-close from frame:basic-mixin
overrides on-close from top-level-window<%>
on-drop-file from frame:basic-mixin
overrides on-drop-file from window<%>
on-exit from top-level-window<%>
on-focus from frame:basic-mixin
overrides on-focus from window<%>
on-menu-char from frame%
on-message from top-level-window<%>
on-move from window<%>
on-size from window<%>
on-subwindow-char from frame%
overrides on-subwindow-char from window<%>
on-subwindow-event from window<%>
on-superwindow-enable from window<%>
on-superwindow-show from frame:basic-mixin
overrides on-superwindow-show from window<%>
on-system-menu-char from top-level-window<%>
on-traverse-char from top-level-window<%>
overwrite-status-changed from frame:text-info<%>
place-children from area-container<%>
popup-menu from window<%>
reflow-container from area-container<%>
refresh from window<%>
resize from top-level-window<%>
save from frame:editor<%>
save-as from frame:editor<%>
screen->client from window<%>
set-alignment from area-container<%>
set-control-font from area-container-window<%>
set-cursor from window<%>
set-icon from frame%
set-info-canvas from frame:info<%>
set-label from frame:editor-mixin
overrides set-label from window<%>
set-label-font from area-container-window<%>
set-label-position from area-container-window<%>
set-label-prefix from frame:editor<%>
set-macro-recording from frame:text-info<%>
set-status-text from frame%
show from top-level-window<%>
overrides show from window<%>
spacing from area-container<%>
stretchable-height from area<%>
stretchable-width from area<%>
update-info from frame:text-info-mixin
overrides update-info from frame:info<%>