On Sunday 07 March 2010 09:09:12 am Ed Leafe wrote:
> On Mar 7, 2010, at 12:01 PM, johnf wrote:
> > Traceback (most recent call last):
> >  File "/home/johnf/dabo/dabo/ui/uiwx/dPanel.py", line 309, in
> > __onWxScrollWin 10070: dEvents.ScrollThumbDrag, 10071:
> > dEvents.ScrollThumbRelease}[typ] KeyError: 10144
> > Traceback (most recent call last):
> >  File "/home/johnf/dabo/dabo/ui/uiwx/dPanel.py", line 309, in
> > __onWxScrollWin 10070: dEvents.ScrollThumbDrag, 10071:
> > dEvents.ScrollThumbRelease}[typ] KeyError: 10144
> > Traceback (most recent call last):
> >  File "/home/johnf/dabo/dabo/ui/uiwx/dPanel.py", line 309, in
> > __onWxScrollWin 10070: dEvents.ScrollThumbDrag, 10071:
> > dEvents.ScrollThumbRelease}[typ] KeyError: 10145
> 
>       Crap - you mean that they use different IDs for the same event under
>  different platforms?
> 
>       OK, can you run the following for me on Linux (and Windows, too, if you
>  have that handy)?
> 
> print "EVT_SCROLLWIN_TOP", wx.EVT_SCROLLWIN_TOP.typeId
> print "EVT_SCROLLWIN_BOTTOM", wx.EVT_SCROLLWIN_BOTTOM.typeId
> print "EVT_SCROLLWIN_LINEUP", wx.EVT_SCROLLWIN_LINEUP.typeId
> print "EVT_SCROLLWIN_LINEDOWN", wx.EVT_SCROLLWIN_LINEDOWN.typeId
> print "EVT_SCROLLWIN_PAGEUP", wx.EVT_SCROLLWIN_PAGEUP.typeId
> print "EVT_SCROLLWIN_PAGEDOWN", wx.EVT_SCROLLWIN_PAGEDOWN.typeId
> print "EVT_SCROLLWIN_THUMBTRACK", wx.EVT_SCROLLWIN_THUMBTRACK.typeId
> print "EVT_SCROLLWIN_THUMBRELEASE", wx.EVT_SCROLLWIN_THUMBRELEASE.typeId
> 
> 
> -- Ed Leafe

On linux openSUSE 11.2

EVT_SCROLLWIN_TOP 10138
EVT_SCROLLWIN_BOTTOM 10139
EVT_SCROLLWIN_LINEUP 10140
EVT_SCROLLWIN_PAGEUP 10142
EVT_SCROLLWIN_PAGEDOWN 10143
EVT_SCROLLWIN_THUMBTRACK 10144
EVT_SCROLLWIN_THUMBRELEASE 10145

Johnf
_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/201003070954.02206.jo...@jfcomputer.com

Reply via email to