|
2003-11-12
| ||
| 23:39 | • Closed ticket [840150ffff]: spnibox -from and -to defaults/behaviour plus 8 ... artifact: 751c2c18eb user: dgp | |
|
2003-11-11
| ||
| 18:17 | • New ticket [840150ffff]. artifact: 79c8de0139 user: oox | |
spnibox -from and -to defaults/behaviour
Closed / Invalid840150ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2003-11-11 18:17:52
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)
dgpplain2003-11-12 23:39:29
Logged In: YES user_id=80530 This is an issue in Tk, not Tcl. It should be reported to the tktoolkit project. When reporting there, this looks like a feature request, rather than a bug.
Log in (anonymous is fine) to add a comment.