You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A typical Flet program ends with a call to flet.app() where the app starts waiting for new user sessions. Function main() is an entry point in a Flet application. It's being called on a new thread for every user session with a Page instance passed into it. When running Flet app in the browser a new user session is started for every opened tab or page. When running as a desktop app there is only one session created.
Actually open a pc desktop application as follow: ft.app(target=main)
Now, I want create new app(window) from main app. how to realize?
Can anyone give me some advice? Thank you very much.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
There is a passage in the document:
Actually open a pc desktop application as follow:
ft.app(target=main)
Now, I want create new app(window) from main app. how to realize?
Can anyone give me some advice? Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions