-
Notifications
You must be signed in to change notification settings - Fork 240
Update app-exit-confirm-dialog.py #167
Conversation
Resolves the following deprecation errors: window_prevent_close() dialog() window_destroy()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why two lines to run the app?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch!, copy paste typo! eek!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to add comments in this case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for this comment too.
ndonkoHenri
commented
Sep 12, 2024
@non-npc, thanks again for your contirbutions.
While on this, could you equally update the code you work on to use import flet as ft instead of importing each Control?
non-npc
commented
Sep 12, 2024
@non-npc, thanks again for your contirbutions.
While on this, could you equally update the code you work on to use
import flet as ftinstead of importing each Control?
absolutely going forward I will do this.
Thank you for making a wonderful python library.
ndonkoHenri
commented
Sep 12, 2024
Thank you for making a wonderful python library.
Resolves the following deprecation errors:
window_prevent_close()
dialog()
window_destroy()