Closed Assia55 closed 3 months ago
I’m sure your guidance will be instrumental in resolving this problem @Akascape .
i want create smooth movement between pages, by adding loading frame between pages, to solve performance issues when packing many widgets
@Assia55 You can use place method for the loading page so that it overlaps without any geometry issue. Then you can use .place_forget()
method to remove it after packing the required page.
Example:
# switch from Page 1 to Page 2
Page_1.forget()
Loading_page.place(x=0,y=0)
Page_2.pack(expand=True, fill="both")
Loading_page.place_forget()
I've spent the past year developing a comprehensive app, including both the back-end and front-end. For the front-end, I've used
CustomTkinter
to create multiple pages such as login, home, and settings... A significant amount of time went into designing and programming the front-end.Currently, I’m facing an issue that I real a need your help ( @Akascape ) . I am sure I will consider your reply as a firm decision .
Every page has packing many widgets , I have searched and confirmed that this is a problem of
tkinter
notcustomtkinter
,That's why I got the idea for the solution. i will
place
one frame with lable has "loading ..." than i willpack
all widgets behind loading frame after all widgets ( pack ) i will remove loading freme usingapp.after()
I tried, but I didn't succeed, so I am asking for your help. ( please )