- Open (Ctrl+O)
This button will open a new file.
A file selector will be popped up for you to chose a file to open.
The file selector will have an extra Browse toggle button; when
this toggle is activated, the file selector will not automatically
pop down when a file has been selected.
If the New Window toggle is on when you select a file, a new
MGv window will be created with your chosen file; otherwise,
the new file replaces the current file.
When you open a file, all of the zoom windows attached to the old
file will be removed from the screen.
If the selected file appears to compressed (i.e. has an extension
of Z, z, or gz and starts with one of the correct
magic numbers), MGv will attempt to decompress it using the
command specified in the
decompress
resource.
- Reopen (Ctrl+R)
This button re-opens the current file. The current page number
will be retained if possible. If you have explicitly requested
a page orientation (i.e. you pushed one of the radio buttons in
the
Orientation menu)
then that orientation will remain in effect.
This is equivalent to choosing the current file through
the Open menu entry, reselecting the current page, and
possibly resetting the orientation.
- Save (Ctrl+S)
Activating this entry will prompt you for a file name and write
the current document, all or only the marked pages, to disk.
The file selector will have two extra toggle buttons:
- Save Marked Pages Only
When this toggle is set, only the currently marked pages
will be written; otherwise, the entire document will be
written.
- Unmark Pages After Saving
If this toggle is set, all pages will be unmarked
after saving.
If you select a file that already exists, you will be asked if you
want to overwrite it (the confirmation dialog is modeless so you
can type in a different name without responding to the confirmation
request and the right thing will be done).
- Print (Ctrl+P)
This will bring up a dialog box which allows you to print
the whole file or just the marked pages (if any); the print
dialog is explained in
Printing.
- Close (Ctrl+D)
Close the current window; if there is only one viewing window,
then this is equivalent to Exit.
- Exit (Ctrl+C)
Exit MGv. If you have more than one viewing window and the
confirmExit resource is True, you will be asked
for confirmation.
Note that all of MGv's child processes--including HTML
browsers--will be terminated (via SIGTERM) when MGv
exits (if you don't like this, the
killChildrenAtExit resource can be used stop it).