Seite 1 von 1

wo finde ich alle wx.EVT_... als übersicht

Verfasst: Sonntag 4. Mai 2008, 20:24
von sechsrad
hallo, wo finde ich alle vorhandenen wx.EVT_MOVE, wx.EVT_BUTTON usw für wxpython ?

mfg

Re: wo finde ich alle wx.EVT_... als übersicht

Verfasst: Sonntag 4. Mai 2008, 20:57
von gerold
sechsrad hat geschrieben:hallo, wo finde ich alle vorhandenen wx.EVT_MOVE, wx.EVT_BUTTON usw für wxpython ?
Hallo sechsrad!

Code: Alles auswählen

>>> import wx
>>> [ item for item in dir(wx) if item.startswith("EVT_") ]
['EVT_ACTIVATE', 'EVT_ACTIVATE_APP', 'EVT_BUTTON', ...]
>>>
Sie sind im Modul *_core.py* zu finden.

Welche Events für ein Objekt interessant sind, findest du in der *wxWidgets*-Hilfe http://docs.wxwidgets.org/stable/wx_classref.html zum jeweiligen *wxWidgets*-Objekt.

mfg
Gerold
:-)