Tk Library Source Code

View Ticket
Login
Ticket UUID: 2829049
Title: "failure" or missing feature in "getstring"
Type: Bug Version: None
Submitter: martinlemburg Created on: 2009-07-29 15:36:01
Subsystem: tklib Assigned To: afaupell
Priority: 5 Medium Severity:
Status: Open Last Modified: 2009-08-12 11:54:01
Resolution: None Closed By:
    Closed on:
Description:
Hello,

I would really like to see the attached changes in the package "getstring".

Just because the current implementation has one bug and one annoyance:
1. "wm withdraw" is called after the "UI" is already built, instead of right after creating the toplevel
2. a given variable to contain the result of "getstring" is simply overwritten, instead of using its contents inside the entry and changing it at the end

Best regards,

Martin
User Comments: afaupell added on 2009-08-12 11:54:01:
the position of the withdraw should not matter as long as it happens before any updates are made.

martinlemburg added on 2009-07-29 22:36:04:

File Added - 337168: tk_getString.unified.patch

Attachments: