[wxPython-users] Doubt with event handling: can I event.Skip() all the time?
by Jorge Godoy other posts by this author
Jul 22 2004 5:52PM messages near this date
Re: [wxPython-users] wx.ListItem.GetBackgroundColour() return (-1,-1,-1)
|
[wxPython-users] 2 Quick Questions on wxTreeCtrl
Hi!
Could there be any problem if I adopt a default of ending my methods
with an 'event.Skip()' call for each and every method that is activated
by an event?
This seems to be required by GTK whenever an event is activated by an
EVT_KILL_FOCUS signal.
My idea was to have something like:
----------------------------------------------------------------------
def methodToHandleEvent(self, event):
code to do what I want
code to do what I want
code to do what I want
# Let the signal go ahead...
event.Skip()
----------------------------------------------------------------------
TIA,
--
Godoy. <godoy@[...].org>
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@[...].org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
Thread:
Jorge Godoy
Eugene Borodkin
Eugene Borodkin
Eugene Borodkin
Mikael Norgren
Jorge Godoy
Peter Damoc
Jorge Godoy
Robin Dunn
|