[issue46117] tk could not refresh auto in mac os

2021-12-27 Thread asper
asper added the comment: It looks like that Python3.10.1 has solved this question. Now use grid_remove() and grid() to switch two widgets smoother than before on my mac system. Ronald Oussoren, Thank you for your time and advice, I could close this issue. -- resolution: -> fi

[issue46117] tk could not refresh auto in mac os

2021-12-23 Thread asper
asper added the comment: tkinter.TCL_VERSION: 8.6 tkinter.TK_VERSION: 8.6 tkinter.info_patchlevel: 8.6.11 zlib.ZLIB_RUNTIME_VERSION: 1.2.11 zlib.ZLIB_VERSION: 1.2.11 On my system, it shows like that. It works well if not change the widnow's size of program, but once change the window's size

[issue46117] tk could not refresh auto in mac os

2021-12-17 Thread asper
asper added the comment: Thank you for your reply. The phenomenon is still exist on mac os, when I add 'root.update_idletasks()'. The version of tk on mac os is 8.5.9, the version of tk is show 8.6.12 from the enviroment of python3.10. Now, I use lower() and lift() to switch two frame

[issue46117] tk could not refresh auto in mac os

2021-12-17 Thread asper
asper added the comment: sorry, I update mac os to 12.1, when press "change" button, this simple sample can refresh the label'text, but have a delay. when I use grid_remove() and grid() to switch two frame, it cannot refresh auto, must move the mouse can refresh. -- st

[issue46117] tk could not refresh auto in mac os

2021-12-17 Thread asper
New submission from asper : from tkinter import * from tkinter import ttk def change(): global flag if flag == 1: namelbl.grid_remove() namelbl2.grid(column=0, row=0) entry2.grid(column=1, row=0, sticky=(W, E)) flag = 2 elif flag == 2