projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add some more docs to the runtime installer.
[wxWidgets.git]
/
wxPython
/
src
/
_event_ex.py
diff --git
a/wxPython/src/_event_ex.py
b/wxPython/src/_event_ex.py
index 70c658a93974973921c87997117b2e3a7e972bb5..622bed6de91f65c4d10e207acd973ef875ff07a6 100644
(file)
--- a/
wxPython/src/_event_ex.py
+++ b/
wxPython/src/_event_ex.py
@@
-23,6
+23,14
@@
class PyEventBinder(object):
for et in self.evtType:
target.Connect(id1, id2, et, function)
for et in self.evtType:
target.Connect(id1, id2, et, function)
+
+ def Unbind(self, target, id1, id2):
+ """Remove an event binding."""
+ success = 0
+ for et in self.evtType:
+ success += target.Disconnect(id1, id2, et)
+ return success != 0
+
def __call__(self, *args):
"""
def __call__(self, *args):
"""