Code: ```py
class App(customtkinter.CTk):
def init(mainmenu, *args, **kwargs):
super().init(*args, **kwargs)
mainmenu.geometry("750x450")
customtkinter.set_appearance_mode("dark")
customtkinter.set_default_color_theme("blue")
mainmenu.title("Prijavi se")
mainmenu.button_1 = customtkinter.CTkButton(mainmenu, text="Prijavi se", command= lambda: mainmenu.open_loginwindow())
mainmenu.button_1.pack(side="top", padx=20, pady=20)
mainmenu.toplevel_window = None
def open_loginwindow(app):
app.toplevel_window = LoginWindow(app)
app.mainmenu.destroy()
def login_success(parent):
parent.toplevel_window = MainWindow(parent)```
When i run app,it opens first window which i called mainmenu and i want when button is clicked and def open_loginwindow is runned to at same time destroy mainmenu and show LoginWindow