[wxPython-users] Events
Christopher Barker
Chris.Barker at noaa.gov
Thu Jan 4 15:01:25 PST 2007
Rooney, Mike (ext. 324) wrote:
>I had to go into an
> IDE with auto-completion, type wx.aui.EVT_, and look at everything it had
> and figure out which one was probably what I wanted.
It's a total kludge, but I do find myself doing things like:
>>> import wx.aui
>>> for i in dir(wx.aui):
... if "EVT" in i: print i
...
EVT_AUINOTEBOOK_ALLOW_DND
EVT_AUINOTEBOOK_BEGIN_DRAG
EVT_AUINOTEBOOK_BUTTON
EVT_AUINOTEBOOK_DRAG_MOTION
EVT_AUINOTEBOOK_END_DRAG
.
.
.
you do still need to figure out what of those you need.
I also find grepping the html docs to be useful.
A major effort to improve the wxPython specific docs would be great, but
someone needs to do it!
-CHB
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the wxpython-users
mailing list