Akuli <akuviljane...@gmail.com> added the comment:
Unfortunately I don't know any real-world examples of this on Windows. The open file dialog works very differently on Windows: it uses the native Windows dialog, whereas on Linux, it's implemented in Tcl. Meanwhile, here's a platform-independent toy example: import tkinter root = tkinter.Tk() root.tk.eval(""" entry .e pack .e focus .e """) root.after(500, root.focus_get) root.mainloop() Also, thanks for reopening! ---------- resolution: duplicate -> status: closed -> open _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44592> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com