
wx.lib.agw.flatmenu.FocusHandler¶A focus event handler.
Class Hierarchy¶
Inheritance diagram for class FocusHandler:

Known Superclasses¶
Methods Summary¶Default class constructor. |
|
Handles the |
|
Handles the |
|
Sets the listener menu. |
Class API¶FocusHandler(wx.EvtHandler)¶A focus event handler.
__init__(self, menu)¶Default class constructor.
menu – an instance of FlatMenu for which we want to redirect
focus inputs.
OnKeyDown(self, event)¶Handles the wx.EVT_KEY_DOWN event for FocusHandler.
event – a KeyEvent event to be processed.
OnKillFocus(self, event)¶Handles the wx.EVT_KILL_FOCUS event for FocusHandler.
event – a FocusEvent event to be processed.