Overview
| Artifact ID: | 79c8de013905b5228fe84969773cfba262f0eedc |
|---|---|
| Ticket: | 840150ffffffffffffffffffffffffffffffffff
spnibox -from and -to defaults/behaviour |
| User & Date: | oox on 2003-11-11 18:17:52 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
I want to configure the allowed range for a spinbox from 10 to 20: % info tclversion 8.4 (bin) 2 % spinbox .s .s (bin) 3 % .s configure -from 10 -to value must be greater than -from value As the defaults for Tk's spinbox -from and -to are both zero, it follows that I'm forced to first change the -to value followed by the -from one, or change both at once. My impression is that the defaults should be from MININT to MAXINT or some such. Notice that the defaults for Tk's scale -from and -to are 0.0 and 100.0, respectively. Other solution suggested in comp.lang.tcl was the following: rather than bailing out, autoadjust the "other" end to be equal to the one currently set. (except if both are set in one go)
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "oox"
- subsystem changed to: "None"
- title changed to: "spnibox -from and -to defaults/behaviour"
- type changed to: "Bug"