Skip to content

Commit 19b0390

Browse files
committed
Add webui.eventType
* webui.eventType.DISCONNECTED * webui.eventType.CONNECTED * webui.eventType.MOUSE_CLICK * webui.eventType.NAVIGATION * webui.eventType.CALLBACK
1 parent 320332c commit 19b0390

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

PyPI/Package/src/webui/webui.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,15 @@ class runtime:
6363
nodejs = 2
6464

6565

66+
# Event types
67+
class eventType:
68+
DISCONNECTED:int = 0 # Window disconnection event
69+
CONNECTED:int = 1 # Window connection event
70+
MOUSE_CLICK:int = 2 # Mouse click event
71+
NAVIGATION:int = 3 # Window navigation event
72+
CALLBACK:int = 4 # Function call event
73+
74+
6675
# The window class
6776
class window:
6877

0 commit comments

Comments
 (0)