mirror of
https://github.com/allankoechke/pywebview.git
synced 2026-12-02 17:33:58 +00:00
19 lines
278 B
Python
19 lines
278 B
Python
import webview
|
|
from .util import run_test
|
|
|
|
|
|
def test_toggle_fullscreen():
|
|
run_test(main_func, toggle_fullscreen)
|
|
|
|
|
|
def main_func():
|
|
webview.create_window('Toggle fullscreen test', 'https://www.example.org')
|
|
|
|
|
|
def toggle_fullscreen():
|
|
webview.toggle_fullscreen()
|
|
|
|
|
|
|
|
|