Replies: 1 comment
|
Hi, You can avoid the bug by calling pack_forget() instead of destroying the children. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm using CustomTkinter version 5.2.2. and Python 3.12.
What is the best way to do this? I have a frame that will contain a variable number of input fields depending on some other code that isn't relevant here. The entry data is contained in global StringVar's. I have a callback function that needs to redraw the entry fields and clear out their contents. The code works, but spits out a bunch of internal errors when it has to redraw the entry fields. I've created a tiny program that demonstrates the error the second time the redraw button is clicked.
All reactions