X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b881fc787d2823bdd8a415080b82feee90804a17..9fd1fa4b1a6a25fe70e703ceb68231c771de5d4e:/wxPython/wx/lib/evtmgr.py?ds=sidebyside diff --git a/wxPython/wx/lib/evtmgr.py b/wxPython/wx/lib/evtmgr.py index 94b729a75c..b6e8765f0f 100644 --- a/wxPython/wx/lib/evtmgr.py +++ b/wxPython/wx/lib/evtmgr.py @@ -63,17 +63,17 @@ class EventManager: """ Registers a listener function (or any callable object) to receive events of type event coming from the source window. - For example: - + For example:: eventManager.Register(self.OnButton, EVT_BUTTON, theButton) Alternatively, the specific window where the event is delivered, and/or the ID of the event source can be specified. - For example: - + For example:: eventManager.Register(self.OnButton, EVT_BUTTON, win=self, id=ID_BUTTON) - or + + or:: eventManager.Register(self.OnButton, EVT_BUTTON, theButton, self) + """ # 1. Check if the 'event' is actually one of the multi-