mirror of
https://github.com/allankoechke/pywebview.git
synced 2026-12-01 09:24:15 +00:00
13 lines
386 B
Python
13 lines
386 B
Python
import webview
|
|
|
|
"""
|
|
This example demonstrates how to create a webview window with a custom minimum
|
|
size.
|
|
"""
|
|
|
|
if __name__ == '__main__':
|
|
# Create a resizable webview window with minimum size constraints
|
|
webview.create_window('Minimum window size',
|
|
'https://pywebview.flowrl.com/hello',
|
|
min_size=(400, 200))
|
|
webview.start() |