Files
pywebview/examples/gtk_test.py
Roman Sirokov f85aebcb0b Add GTK test
2015-11-19 16:09:23 +02:00

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