Make a widget for a range entry,
providing two entry boxes next to each other labelled 'min' and
'max'. This is used by minmaxhist, and is not intended for independant
use.
Synopsis
twoentry(parent, value, default, options, allowunset, editable, min, max, widths, hlp)
Description
Constructs a widget for the entry of a range.
The allowed formats for user input are:
- The user enters numbers into the two entry boxes.
Arguments
parent |
|
Parent of the widget |
|
|
Allowed: |
Tk frame |
value |
|
Value to insert on start |
|
|
Allowed: |
Array |
|
|
Default: |
unset |
default |
|
Default value |
|
|
Allowed: |
Array |
|
|
Default: |
0 |
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 |
min |
|
Minimum value |
|
|
Allowed: |
Number |
|
|
Default: |
-1.0 |
max |
|
Maximum value |
|
|
Allowed: |
Number |
|
|
Default: |
1.0 |
widths |
|
Width of the two boxes |
|
|
Allowed: |
Number |
|
|
Default: |
0.1 |
hlp |
|
Help message |
|
|
Allowed: |
string |
|
|
Default: |
F |