mirror of
https://github.com/allankoechke/pywebview.git
synced 2026-12-03 01:17:44 +00:00
12 lines
341 B
Python
12 lines
341 B
Python
import webview
|
|
|
|
"""
|
|
This example demonstrates how to create a webview window.
|
|
"""
|
|
|
|
if __name__ == '__main__':
|
|
# Create a resizable webview window with minimum size constraints
|
|
webview.create_window("Minimum window size", "http://www.flowrl.com",
|
|
width=800, height=600, resizable=True, min_size=(400, 200))
|
|
|