I have the following code:
self.sliderR.Bind(wx.EVT_SCROLL,self.OnSlide)
In the function OnSlide I have the inserted the code pdb.set_trace() to help me debug.
In the pdb prompt if I type event.GetEventType() it returns a number (10136) but I have no idea which event that corresponds to.
Does the 10136 refer to the wx.EVT_SCROLL or another event that also triggers the wx.EVT_SCROLL event? If the latter is true, how do I find the specific event?
Thanks.
There isn’t a built-in way. You will need to build an event dictionary. Robin Dunn has some code here that will help: http://osdir.com/ml/wxpython-users/2009-11/msg00138.html
Or you can check out my simple example: