AGW Logo

agw_title FocusHandler

A focus event handler.

hierarchy Inheritance Diagram

Inheritance diagram for: FocusHandler

Inheritance diagram of FocusHandler


method_summary Methods Summary

__init__Default class constructor.
OnKeyDownHandles the wx.EVT_KEY_DOWN event for FocusHandler.
OnKillFocusHandles the wx.EVT_KILL_FOCUS event for FocusHandler.
SetMenuSets the listener menu.

API Class API

class FocusHandler(wx.EvtHandler)[source]

A focus event handler.



__init__(menu)[source]

Default class constructor.

Parameters:menu – an instance of FlatMenu for which we want to redirect focus inputs.


OnKeyDown(event)[source]

Handles the wx.EVT_KEY_DOWN event for FocusHandler.

Parameters:event – a wx.KeyEvent event to be processed.


OnKillFocus(event)[source]

Handles the wx.EVT_KILL_FOCUS event for FocusHandler.

Parameters:event – a wx.FocusEvent event to be processed.


SetMenu(menu)[source]

Sets the listener menu.

Parameters:menu – an instance of FlatMenu.
Tree

Table Of Contents

Previous topic

FlatToolbarItem

Next topic

MenuEntryInfo