Message218765
The reverenced post did not give a runnable minimal example with the claimed bug, but only described more complex code at a now dead link. The following from http://effbot.org/tkinterbook/entry.htm works on my Win7 machine.
import tkinter as tk
master = tk.Tk()
e = tk.Entry(master)
e.pack()
e.focus_set()
def callback():
print(e.get())
b = tk.Button(master, text="get", width=10, command=callback)
b.pack()
tk.mainloop() |
|
Date |
User |
Action |
Args |
2014-05-18 23:16:58 | terry.reedy | set | recipients:
+ terry.reedy, gpolo, firatozgul, claird |
2014-05-18 23:16:57 | terry.reedy | set | messageid: <1400455017.89.0.280290832974.issue9673@psf.upfronthosting.co.za> |
2014-05-18 23:16:57 | terry.reedy | link | issue9673 messages |
2014-05-18 23:16:57 | terry.reedy | create | |
|