We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f792ae7 commit 6e17131Copy full SHA for 6e17131
bin/x86_64/__init__.py
@@ -27,5 +27,22 @@
27
from .InterfaceDefs import *
28
from .Alert import *
29
30
+_BWindow=BWindow
31
+_BApplication=BApplication
32
+def MessageReceived(self, msg):
33
+ if msg.what in self.events:
34
+ self.events[msg.what](msg)
35
+ else:
36
+ super(type(self)).MessageReceived(msg)
37
+
38
+class BWindow(_BWindow):
39
+ events={}
40
+ MessageReceived=MessageReceived
41
42
+class BApplication(_BApplication):
43
44
45
46
47
def int32(bytestr):
48
return unpack('i',bytestr)[0]
0 commit comments