mirror of
https://github.com/allankoechke/pywebview.git
synced 2026-12-02 17:33:58 +00:00
13 lines
312 B
Python
13 lines
312 B
Python
import webview
|
|
|
|
"""
|
|
This example demonstrates how to create a pywebview windows using QT
|
|
(normally GTK is preferred)
|
|
"""
|
|
|
|
if __name__ == '__main__':
|
|
webview.config.use_qt = True
|
|
|
|
# Create a non-resizable webview window with 800x600 dimensions
|
|
webview.create_window("Qt Example", "http://flowrl.com")
|