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


next up previous contents index
Next: componenteditor.gui - Function Up: componenteditor - Tool Previous: componenteditor - Constructor


componenteditor.use - Function



Package synthesis
Module componentmodels
Tool componenteditor


Supply a component to be edited


Synopsis
use(component, which)


Description
This tool function supplies a component for the GUI to edit. A component is a Glish record with the fields and structure described in the componentlist tool.

The optional which argument is to allow multiple componenteditors to simultaneously edit different components in a componentlist. It contains the index of the component in the main list. This index can be obtained at a later time using the which tool function described below.

This scheme will break down if the main list has been sorted or components have been added or deleted while an editor is editing a copy of a component.

The which argument can be totally ignored if the componenteditor is not being used in conjunction with a parent list, or if you are separately keeping track of which component goes where. Otherwise it should be an integer between 1 and the parent list length



Arguments

component The component to be viewed and/or edited
Allowed: Any Glish record with the appropriate fields
Default: no default
which The index of the component in a parent table
Allowed: Any integer (see description)
Default: 0


Returns
T




next up previous contents index
Next: componenteditor.gui - Function Up: componenteditor - Tool Previous: componenteditor - Constructor   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