We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@ndonkoHenri
Since 'FLET_APP_HIDDEN' does not function, I am unsure of how this example is supposed to function https://github.com/flet-dev/examples/blob/main/python/controls/page/window-hidden-on-start.py
I assume the intention is to have the app hidden for 3 ticks then displayed.
I propose a temporary fix to have a working example, this one uses the WEB_VIEW after 3 ticks the view changes:
`from time import sleep import flet from flet import Page, Text
def main(page: Page): page.window.visible = False
page.add(Text("Hello!")) sleep(3) page.window.visible = True page.update()
flet.app(target=main, view=flet.AppView.WEB_BROWSER)`
Let me know if you approve and I will proceed with the update. Also, this fixes the deprecation warning about window visiblity.
The text was updated successfully, but these errors were encountered:
That's a bug which needs to be resolved: flet-dev/flet#2705
Sorry, something went wrong.
thank you, i have proposed a solution to the issue you mentioned flet-dev/flet#2705 (comment)
No branches or pull requests
@ndonkoHenri
Since 'FLET_APP_HIDDEN' does not function, I am unsure of how this example is supposed to function https://github.com/flet-dev/examples/blob/main/python/controls/page/window-hidden-on-start.py
I assume the intention is to have the app hidden for 3 ticks then displayed.
I propose a temporary fix to have a working example, this one uses the WEB_VIEW after 3 ticks the view changes:
`from time import sleep
import flet
from flet import Page, Text
def main(page: Page):
page.window.visible = False
flet.app(target=main, view=flet.AppView.WEB_BROWSER)`
Let me know if you approve and I will proceed with the update.
Also, this fixes the deprecation warning about window visiblity.
The text was updated successfully, but these errors were encountered: