so , I was working on an app using "customtkinter" and wanted to know if it is possible to create multi window app ?
when I searched about it the only method I found was "top level window" but the problem is that I don’t want to create a new window , I want multiple kind of ‘layers’ guess u could say in the app like I want everything to be on the screen no new window for example – lets say an app so I want login window to appear at start after login or registration I don’t want a new window to open I want the content of app to appear in same window like any normal app nowadays in mobile or pc , so is it possible in python custom tkinter or not ?? if it isn’t can anyone suggest what language or software should I use for it I searched about react and node , react native as well android studio etc which should I use if it isn’t possible in python .
2
Answers
This can be done. Following is an example program containing three custom tkinter window. The first one has name entry field. The second window has address entry field. and a button. after entering, name, address, when button is pressed, the name and address will be displayed in the third window.
To create an app that has multiple pages / layers, you have 2 ways to solve this issue:
show()
andhide()
method for each class. Each time you want to change page, you call thehide()
method of each page and call theshow()
method of the page you want to show. For example:Hope I helped you, have a nice day