Synopsis
untyped(parent, value, default, options, allowunset, editable, hlp)
Description
Constructs a widget for the entry of untyped values. The behavior
requires some explanation:
- In determining the type of a given input string or
insert argument, various conversions are tried, and the first
successful one retained.
- The search list of conversions can be set using the setsearch
function and retrieved using the search function.
- The default search list is "measure array coordinates region record string untyped"
- Valid search list items are the entry types that the
Entryparser tool recognizes.
The allowed formats for user input are:
- Any valid glish expression
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 |