Synopsis
array(parent, value, default, options, allowunset, editable, maxdisplay, hlp)
Description
Constructs a widget for the entry of array values.
The allowed formats for user input are:
- A vector of numbers (e.g. [1.3, 4.5, 900.32])
- The name of Glish variable or function that evaluates to a
vector of numbers.
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 |
maxdisplay |
|
Maximum number of elements that will be displayed |
|
|
Allowed: |
Positive integer |
|
|
Default: |
100 |
hlp |
|
Popup help string |
|
|
Allowed: |
String |
|
|
Default: |
Unset |