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


next up previous contents index
Next: guientry.scalarmeasure - Function Up: guientry - Tool Previous: guientry.file - Function


guientry.measurecodes - Function



Package display
Module widgets
Tool guientry


Make a widget for entry of measures codes


Synopsis
measurecodes(parent, value, default, options, type, allowunset, editable, hlp)


Description

Constructs a widget for the entry of measures reference codes. For each type of measure there is a corresponding list of reference codes. For example, dm.listcodes(dm.frequency()) gives the list for a 'frequency' measure.

The allowed formats for user input (i.e. for value and default) are:

  • A measure code as drawn from the list of possible codes returned by the measures tool (see above).

  • The name of Glish variable or function that evaluates to a measure code.

Use options to specify the measure type (see Measures) for the current known list (e.g. 'frequency', 'doppler', 'direction' etc).



Arguments

parent Parent of the menu
Allowed: Tk frame
value Value to insert on start
Allowed: Variable or unset
default Default value
Allowed: Variable
options type of measure: any valid measure
Allowed: string
Default: ''
type Type of argument: unset means to evaluate
Allowed: Variable
Default: unset
allowunset Allow unset values
Allowed: Boolean
Default: T
editable Is the entry editable by the user
Allowed: Boolean
Default: T
hlp Popup help string
Allowed: String
Default: Unset


Returns
guientry widget




next up previous contents index
Next: guientry.scalarmeasure - Function Up: guientry - Tool Previous: guientry.file - 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