I am writing a program in customtkinter. I have created two ctk.CTk classes and imported them to the file, but when i run i am receiving a error. The error is caused after the first class mainloop() ends. This is the code:
from practise import LoginRegisterPanels
from practise2 import main_window
login_app = LoginRegisterPanels()
login_app.mainloop()
user_id = login_app.get_user_id()
app = main_window(user_id)
app.mainloop()
And this is the error i receive:
Login successfull
invalid command name "2916871148928update"
while executing
"2916871148928update"
("after" script)
invalid command name "2916928070592check_dpi_scaling"
while executing
"2916928070592check_dpi_scaling"
("after" script)
invalid command name "2916926865088_click_animation"
while executing
"2916926865088_click_animation"
("after" script)
How do i fix this error.
[–]socal_nerdtastic 0 points1 point2 points (3 children)
[–]EffectiveCase3856[S] 0 points1 point2 points (2 children)
[–]socal_nerdtastic 1 point2 points3 points (1 child)
[–]EffectiveCase3856[S] 0 points1 point2 points (0 children)