Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6e17131

Browse files
Update __init__.py
1 parentf792ae7 commit6e17131

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

‎bin/x86_64/__init__.py‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,22 @@
2727
from .InterfaceDefsimport*
2828
from .Alertimport*
2929

30+
_BWindow=BWindow
31+
_BApplication=BApplication
32+
defMessageReceived(self,msg):
33+
ifmsg.whatinself.events:
34+
self.events[msg.what](msg)
35+
else:
36+
super(type(self)).MessageReceived(msg)
37+
38+
classBWindow(_BWindow):
39+
events={}
40+
MessageReceived=MessageReceived
41+
42+
classBApplication(_BApplication):
43+
events={}
44+
MessageReceived=MessageReceived
45+
46+
3047
defint32(bytestr):
3148
returnunpack('i',bytestr)[0]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp