To use wxKeyBinder, add command groups to it, then use "PushEventHandler()" for hooking it to a window or control. After that, key events will automatically be translated into wxMenu events for that window, if binding is present.
Derived from
wxEvtHandler
Data structures
Members
wxKeyBinder::wxKeyBinder
wxKeyBinder::~wxKeyBinder
wxKeyBinder::AddGroup
wxKeyBinder::AddGroups
wxKeyBinder::AssignFrom
wxKeyBinder::Clone
wxKeyBinder::CreateMenuBar
wxKeyBinder::CreateMenusRecursively
wxKeyBinder::FindCommandById
wxKeyBinder::GetGroups
wxKeyBinder::OnChar
wxKeyBinder::OnClose
wxKeyBinder::RemoveGroup
wxKeyBinder::ResetUserData
wxKeyBinder::UpdateHashForCommand
wxKeyBinder::UpdateHashForCommands
wxKeyBinder::UpdateKeyAssignments
wxKeyBinder()
~wxKeyBinder()
void AddGroup(wxCommandGroup* pGroup)
void AddGroups(wxCommandGroup* pGroups)
pGroups is C-array, where command object with empty title ("") indicates the end of the list
void AssignFrom(wxKeyBinder& other)
wxKeyBinder* Clone()
void CreateMenuBar(wxFrame* pForWindow)
changes to commands were made externally (e.g. customization dialog)
void CreateMenusRecursively(wxCommandInfoListT& lst, wxMenuBar* pBar, wxMenu* pMenu, bool topLevel)
wxCommandInfo* FindCommandById(int id)
wxCommandInfoListT& GetGroups()
void OnChar(wxKeyEvent& event)
event-handlers **
void OnClose(wxCloseEvent& event)
void RemoveGroup(wxCommandGroup* pGroup)
void ResetUserData()
void UpdateHashForCommand(wxCommandInfo& cmd)
void UpdateHashForCommands(wxCommandInfoListT& lst)
void UpdateKeyAssignments()
recreates key-hash after,