Feb-19-2021, 05:24 PM
It's difficult to say without enough of the class to be able to run and test it but I can tell you for sure the you will need to reference the main or root window when declaring a Toplevel. Something like :
self.top1=Toplevel(root_window)