Can a wxWindow dispatch all events (mouse, keyboard) ?
In other words can all events be "wxEvent::Skip"ped
without having to catch all events and skipping in each handler?
Sorry if this question makes no sense at all, my understanding of events is quite shallow.
Good day,
Arye.
Can a wxWindow dispatch all events (mouse, keyboard) ?
In other words can all events be "wxEvent::Skip"ped
without having to catch all events and skipping in each handler?
If you don't have anything special to do don't bind an event handler wxWidgets (wxWindow) default handler will be called automagically, if you do have some special things to do and still want the default handler then call event.Skip(), if you do everything in your event handler then do NOT call Skip().
Hope this helps.
Werner
···
Sorry if this question makes no sense at all, my understanding of events is quite shallow.
Good day,
Arye.
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
Can a wxWindow dispatch all events (mouse, keyboard) ?
In other words can all events be "wxEvent::Skip"ped
without having to catch all events and skipping in each handler?
If you don't bind a handler for an event then it will be as if you did and the handler only called event.Skip(). Does this answer your question?
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!