mirror of
https://github.com/allankoechke/pywebview.git
synced 2026-12-02 09:37:30 +00:00
13 lines
347 B
Python
13 lines
347 B
Python
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 Quit Example',
|
|
'https://pywebview.flowrl.com/hello',
|
|
confirm_close=True)
|
|
webview.start()
|