Next: edit-menu
Up: Class Reference
Previous: mred:snip
Superclass: mred:menu-frame%
mred:standard-menus-frame% provides standard menus that
applications which deal with files should have. It provides a File menu, an Edit menu and a Windows menu. The File menu has Open..., New..., Revert, Save, Save As..., and Close. The Edit menu has Undo, Redo, cut, Copy, Paste, and Clear. The Windows menu has one
menu item for each window that is open. The
mred:frame-group% bound to mred:the-frame-group
maintains the Windows menu for each frame that is in the group.
The relevant instance variables for the file menu are:
- file-menu:new, file-menu:new-id, file-menu:new-string and file-menu:new-help-string
-
file-menu:between-new-and-open
- file-menu:open, file-menu:open-id, file-menu:open-string and file-menu:open-help-string
- file-menu:revert, file-menu:revert-id, file-menu:revert-string and file-menu:revert-help-string
-
file-menu:between-open-and-save
- file-menu:save, file-menu:save-id, file-menu:save-string and file-menu:save-help-string
- file-menu:save-as, file-menu:save-as-id, file-menu:save-as-string and file-menu:save-as-help-string
-
file-menu:between-save-and-print
- file-menu:print, file-menu:print-id, file-menu:print-string and file-menu:print-help-string
-
file-menu:between-print-and-close
- file-menu:close, file-menu:close-id, file-menu:close-string and file-menu:close-help-string
-
file-menu:between-close-and-quit
- file-menu:quit, file-menu:quit-id, file-menu:quit-string and file-menu:quit-help-string
file-menu:after-quit
The relevant instance variables for the edit menu are:
- edit-menu:undo, edit-menu:undo-id, edit-menu:undo-string and edit-menu:undo-help-string
- edit-menu:redo, edit-menu:redo-id, edit-menu:redo-string and edit-menu:redo-help-string
-
edit-menu:between-redo-and-cut
- edit-menu:cut, edit-menu:cut-id, edit-menu:cut-string and edit-menu:cut-help-string
-
edit-menu:between-cut-and-copy
- edit-menu:copy, edit-menu:copy-id, edit-menu:copy-string and edit-menu:copy-help-string
-
edit-menu:between-copy-and-paste
- edit-menu:paste, edit-menu:paste-id, edit-menu:paste-string and edit-menu:paste-help-string
-
edit-menu:between-paste-and-clear
- edit-menu:clear, edit-menu:clear-id, edit-menu:clear-string and edit-menu:clear-help-string
-
edit-menu:between-clear-and-select-all
- edit-menu:select-all, edit-menu:select-all-id, edit-menu:select-all-string and edit-menu:select-all-help-string
-
edit-menu:between-select-all-and-find
- edit-menu:find, edit-menu:find-id, edit-menu:find-string and edit-menu:find-help-string
- edit-menu:replace, edit-menu:replace-id, edit-menu:replace-string and edit-menu:replace-help-string
-
edit-menu:after-standard-items
The relevant instance variables for the help menu are:
This class is incomplete. If you want to use it you should create a class
which inherits from mred:standard-menus-frame% and provides
callbacks for the menus. Only the
file-menu:new,
file-menu:open,
file-menu:open-url,
file-menu:close,
file-menu:quit,
edit-menu:preferences, and
help-menu:about callbacks do anything by default.
Methods:
All methods:
Next: edit-menu
Up: Class Reference
Previous: mred:snip
PLT