Tk Source Code

View Ticket
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Ticket UUID: b7445265123a5ebb88127b15f00e6436cc220788
Title: ::ttk::spinbox doesn't initialize value of box
Type: Bug Version: 8.6 trunk
Submitter: anonymous Created on: 2013-08-12 21:15:29
Subsystem: 88. Themed Tk Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2016-08-22 08:43:26
Resolution: Wont Fix Closed By: dkf
    Closed on: 2016-08-22 08:43:26
Description:
[spinbox .path/to/widget -from 0 -to 100 ...] causes the created spinbox to have the value 0, but the value is empty for the analagous [::ttk::spinbox].
User Comments: jenglish added on 2013-08-13 04:25:08:
This difference in behavior is intentional.  Tile widget policy is that linked -variables and -textvariables are only changed by explicit user or program action.

This is an incompatibility with the core widgets, but it leads to more predictable behavior.