Files
pywebview/docs/examples/close_confirm.md
Roman Sirokov 6ff1058158 Rename confirm_quit to confirm_close
Split lifecycle events to shown and loaded
2019-05-06 06:09:17 +03:00

391 B

Quit confirmation dialog

import webview

"""
This example demonstrates a webview window with a quit confirmation dialog.
"""

if __name__ == '__main__':
    # Create a standard webview window
    webview.create_window('Confirm Close Example',
                          'https://pywebview.flowrl.com/hello',
                          confirm_close=True)
    webview.start()