Forum: Poser Python Scripting


Subject: Poser 8: (un)Binding Events

Dizzi opened this issue on Nov 25, 2009 ยท 5 posts


Dizzi posted Wed, 25 November 2009 at 5:37 PM

Probably better to use event.StopPropagation()

I've got still no idea, why Unbind gives

Traceback (most recent call last):<br></br>File "P:Poser 8RuntimePythonposerScriptsScriptsMenumousewheelposing.py", line 79, in EvtKey
self.Unbind(wx.EVT_KEY_DOWN, self.EvtKey)
File "P:Poser 8RuntimePythonlibsite-packageswx-2.8-msw-ansiwx_core.py", line 3916, in Unbind
id  = source.GetId()
AttributeError: 'function' object has no attribute 'GetId'