what are the get()attributes of command event in wxpython just like getid().
A:
http://docs.wxwidgets.org/stable/wx_wxcommandevent.html#wxcommandevent
wxCommandEvent::GetClientData
wxCommandEvent::GetClientObject
wxCommandEvent::GetExtraLong
wxCommandEvent::GetInt
wxCommandEvent::GetSelection
wxCommandEvent::GetString
And those inherited from its superclass:
wxEvent::GetEventObject
wxEvent::GetEventType
wxEvent::GetId
wxEvent::GetSkipped
wxEvent::GetTimestamp
FogleBird
2009-06-27 01:47:11
A:
if you don't have documentation available justuse python to print all Get methods
>>> print [c for c in dir(wx.CommandEvent) if c.startswith('Get') ]
it prints ['GetClassName', 'GetClientData', 'GetClientObject', 'GetEventObject', 'GetEventType', 'GetExtraLong', 'GetId', 'GetInt', 'GetSelection', 'GetSkipped', 'GetString', 'GetTimestamp']
Anurag Uniyal
2009-06-27 09:51:07