Files
pywebview/examples/min_size.py
Roman Sirokov 99e3974c92 New API
Cocoa implementation
Revamped tests and examples
2019-04-28 17:07:08 +03:00

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