Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: saveregions - Constructor Up: widgets - Module Previous: rollup.setpopuphelp - Function


saveregions - Tool



Package display
Module widgets


Postscript file available

Tk widget to save image regions to a Table

include "saveregions.g"

Constructors
saveregions Construct a saveregions widget
Functions
done Destroy ourselves
gui Restart the GUI
setregions Set new regions to save
settable Set a (new) table



Description

This Tk widget enables you to save image regions-of-interest (or more simply, regions - see regionmanager) stored to an AIPS++ Table.

Figure 1.15: The saveregions GUI
\begin{figure}
\begin{center}
\epsfig{file=saveregions.ps, width=3.6in}\end{center}\end{figure}

The widget displays, in listboxes, the regions passed in. If you select specific regions, then the GUI expands to enable you to rename them during the save. The `Save' button saves only selected regions. The `Save all' button saves all regions with no renaming option. If you select `Confirm', you will be prompted for confirmation if you attempt to overwrite a region in the Table. The `Dismiss' button dismisses the GUI. You can recover it with the gui function.

Under the `File' menu, you can either dismiss the GUI or destroy the widget (same as invoking function done).

The Table can be specified in many ways (at construction and via the entry box in the GUI); a Table tool, an Image) tool, the name of a Table (a string) which might be an AIPS++ image, or the name of a Glish symbol which is either a Table or an Image tool. If the Table does not exist, it will be created. It will have no useful structure beyond that needed to store the regions.

This widget emits an event called saved (it has no value) when the regions have been restored. It also emits an event called dismissed (it has no value) when the dismiss button on the GUI is pressed.




next up previous contents index
Next: saveregions - Constructor Up: widgets - Module Previous: rollup.setpopuphelp - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15