Synopsis
frequency(parent, value, default, options, allowunset, editable, hlp)
Description
Constructs a widget for the entry of frequency measure value.
The allowed formats for user input are:
- A measure as returned by the measures tool (e.g.
dm.frequency('LSR', '10GHz'))
- The name of Glish variable or function that evaluates to a
frequency measure.
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 |
|
options |
|
|
Allowed: |
string |
|
|
Default: |
'' |
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 |