Tk Source Code

View Ticket
Login
Ticket UUID: 3613759
Title: ttk::entry and symbolic index names
Type: Bug Version: current: 8.6.0
Submitter: pointsman Created on: 2013-05-22 23:40:34
Subsystem: 88. Themed Tk Assigned To: jenglish
Priority: 5 Medium Severity: Important
Status: Closed Last Modified: 2013-06-05 07:45:45
Resolution: Fixed Closed By: jan.nijtmans
    Closed on: 2013-06-05 07:45:45
Description:
tt::entry .e
.e xviwe end
==> expected integer but got "end"

Doesn't seem right, because
- the documentation say (or at least suggests), that should work
- the tk entry works this way
- other ttk::entry methods _do_ understand the symoblic index names
User Comments: jan.nijtmans added on 2013-06-05 07:45:45:
Fixed in core-8-5-branch and trunk

jan.nijtmans added on 2013-06-04 12:57:26:

Noticed the same in the file dialog on UNIX (actually: cygwin) the "xview end" construct is used in xmfbox.tcl, which means that the file dialog on UNIX doesn 't work.

For the file dialog I see 2 possible ways to fix it: - Change "xview end" in "xview moveto 1.0", which means exactly the same. - Implement "end" as possible index. Suggested fix (actually both of them) committed to [4bf2d6964c]