
 
       wx.lib.agw.flatmenu.FocusHandler¶
  wx.lib.agw.flatmenu.FocusHandler¶A focus event handler.
 Methods Summary¶
 Methods Summary¶| __init__ | Default class constructor. | 
| OnKeyDown | Handles the wx.EVT_KEY_DOWNevent forFocusHandler. | 
| OnKillFocus | Handles the wx.EVT_KILL_FOCUSevent forFocusHandler. | 
| SetMenu | Sets the listener menu. | 
 Class API¶
 Class API¶FocusHandler(wx.EvtHandler)¶A focus event handler.
__init__(self, menu)¶Default class constructor.
| Parameters: | menu – an instance of FlatMenufor which we want to redirect
focus inputs. | 
|---|
OnKeyDown(self, event)¶Handles the wx.EVT_KEY_DOWN event for FocusHandler.
| Parameters: | event – a KeyEventevent to be processed. | 
|---|
OnKillFocus(self, event)¶Handles the wx.EVT_KILL_FOCUS event for FocusHandler.
| Parameters: | event – a FocusEventevent to be processed. | 
|---|