The pop-up menu appears when the right mouse button is pressed with the
cursor positioned within the canvas window.
Positioning the cursor over the desired menu entry and releasing the
button selects a menu entry.
There are a number of file accessing functions in the pop-up menu.
Most of the time when one of these functions is selected, the user
will be asked for a file name. If the specified file can be located
and the access permission are granted, XFIG will carry out
the function. However in case things go wrong, XFIG will
abort the function and printed the causes on the message window.
- Undo
- Undo the last object creation or modification.
- Redisplay
- Redraw the canvas.
- Remove all
- Remove all objects on the canvas window (can be undone).
- Edit file ...
- The current contents of the canvas are cleared and objects
are read from the specified file.
The user will be asked for a file name.
This file will become the current file.
- Save
- Save the current contents of the canvas in the current file.
If no file is being edited, the user will be asked for a file
name as in the ''Save in ...'' function.
- Read file ...
- Read objects from the specified file and merge them with objects already
shown on the canvas.
(The user will be asked for a file name.)
- Save as ...
- Save objects on the screen into a file specified by the user.
(The user will be asked for a file name.)
- Status
- Show the name of the current file and directory.
- Change Directory
- Change the working directory. Any file name without a full path name
will employ the current working directory.
- Save & Exit
- Save the objects in the current file and exit from XFIG.
If there is no current file, the user will be asked for a file name.
No confirmation will be asked.
- Quit
- Exit from XFIG, discarding all objects. The user will be asked to
confirm the action, by clicking the left button.
- Save as BITMAP ...
- Create a bitmap picture of the drawings for use with other tools (for example,
for use as an icon). The smallest rectangular area of pixels
that encompasses the figure is written to the named file
(the user will be asked for a file name) from
top row to bottom and left to right (in Sun raster format).
Only TEXT objects that are parts of compound objects will be
treated as parts of the picture; other texts are saved as objects in
XFIG format following the bitmap data.
The coordinates of these text objects can be used
to identify locations on the bitmap.