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


next up previous contents index
Next: deleteregions - Constructor Up: widgets - Module Previous: combobox.listboxheight - Function


deleteregions - Tool



Package display
Module widgets


Postscript file available

Tk widget to delete image regions from a Table

include "deleteregions.g"

Constructors
deleteregions Construct a deleteregions widget
Functions
done Destroy ourselves
gui Restart the GUI
refresh Refresh the display
setregions Set new regions
settable Set a (new) table



Description

This Tk widget enables you to delete regions-of-interest (or more simply, regions - see Regionmanager) stored in an AIPS++ Table. It can also be used to provide a GUI interface for deleting regions from a record or global name space (from Glish).

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

The widget displays, in listboxes, the regions stored in the Table (or record or Glish). The `Delete' button is used to delete the regions that you have selected. The `Delete all' button deletes all regions. The `Deselect' button deselects all regions. Optionally, you can be prompted for confirmation before deletion by selecting from the `Confirm' menu. 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.

This widget emits an event called deleted (it has no value) when the regions have been deleted. 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: deleteregions - Constructor Up: widgets - Module Previous: combobox.listboxheight - 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