Skip to content

Commit b953686

Browse files
committed
Adding Alias (Supporting old projects based on WebUI 2.4.x)
1 parent bbe5a08 commit b953686

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

PyPI/Package/src/webui/webui.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1811,3 +1811,14 @@ def set_tls_certificate(certificate_pem: str, private_key_pem: str) -> bool:
18111811
print("Failed to set TLS certificate.")
18121812
"""
18131813
return bool(_raw.webui_set_tls_certificate(c_char_p(certificate_pem.encode("utf-8")), c_char_p(private_key_pem.encode("utf-8"))))
1814+
1815+
# == Alias ==================================================================
1816+
# Supporting old projects based on WebUI 2.4.x
1817+
1818+
window = Window
1819+
event = Event
1820+
browser = Browser
1821+
runtime = Runtime
1822+
eventType = EventType
1823+
javascript = JavaScript
1824+
config = Config

0 commit comments

Comments
 (0)