mirror of
https://github.com/allankoechke/pywebview.git
synced 2026-12-02 17:33:58 +00:00
13 lines
236 B
Python
13 lines
236 B
Python
import os
|
|
os.environ["USE_GTK"] = "true"
|
|
|
|
import webview
|
|
|
|
"""
|
|
This example creates a webview window using GTK (normally QT is preferred)
|
|
"""
|
|
|
|
if __name__ == '__main__':
|
|
webview.create_window("GTK browser", "http://www.flowrl.com")
|
|
|