Re: [wxPython-users] Doubt with event handling: can I event.Skip()
all the time?
by Robin Dunn other posts by this author
Jul 22 2004 6:26PM messages near this date
[wxPython-users] Re: Doubt with event handling: can I event.Skip() all the time?
|
RE: [wxPython-users] chm help
Jorge Godoy wrote:
> 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?
There are a few cases where you don't want the default event handlers to
happen, and in those cases you should not call Skip. (For example, if
you handle a key in a EVT_KEY_DOWN handler and don't want it to be added
to the text ctrl.) But in general calling Skip would be okay.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
---------------------------------------------------------------------
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
|