Quit confirmation dialog | pywebview
Description: Build GUI for your Python program with JavaScript, HTML, and CSS

# # 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()