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