Tk Source Code

View Ticket
Login
Ticket UUID: f9343d8f72406386b1310c4d641d279a47845f14
Title: Documentation tip for scrolling (ttk::)entry right on creation might be helpful
Type: Bug Version: 8.6
Submitter: ulfalizer Created on: 2019-04-16 22:06:24
Subsystem: 07. [entry] Assigned To: fvogel
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2019-05-08 08:42:55
Resolution: Fixed Closed By: fvogel
    Closed on: 2019-05-08 08:42:55
Description: (text/html)
I wrestled for a while with getting a ttk::entry ([entry] behaves the same) with a long prefilled text to start out scrolled all the way to the right. Maybe a hint in the man page would be useful.
<br>
<br>
The method in <a href="https://stackoverflow.com/a/17233583">this SO answer</a> works for me. I got there via <a href="https://stackoverflow.com/questions/29334544/why-does-tkinters-entry-xview-moveto-fail">this question</a>.
User Comments: fvogel added on 2019-05-08 08:42:55:
Bugfix branch merged into core-8-6-branch and trunk.

fvogel added on 2019-04-28 14:48:50: (text/x-fossil-wiki)
I have now a patch with which I'm satisfied.

See detailed explanations here: [2513186fff]

The patch is in branch [https://core.tcl-lang.org/tk/timeline?r=bug-2513186fff|bug-2513186fff]. Please try it out and report your findings here.

fvogel added on 2019-04-22 21:27:49: (text/x-fossil-wiki)
It looks like there is a better way than documenting this trick, see [2513186fff].

ulfalizer added on 2019-04-18 09:06:58:
> Could you perhaps suggest a patch to the [entry] man page?

Might do later when I find the time. Should probably make sure I don't give bad advice.

fvogel added on 2019-04-16 22:39:26:
Could you perhaps suggest a patch to the [entry] man page?