Audacity 3.2.0
|
Changes default arrow navigation to behave more list- or table-like. Instead of searching focusable items among children first, list navigation searches for siblings when arrow key is pressed. Tab behaviour stays same. Requires wxWANT_CHARS style flag to be set. More...
#include <ListNavigationEnabled.h>
Public Member Functions | |
ListNavigationEnabled () | |
void | SetInTabOrder (bool inTabOrder) |
Private Member Functions | |
void | SetFocus () override |
void | OnCharHook (wxKeyEvent &evt) |
void | OnKeyDown (wxKeyEvent &evt) |
void | OnNavigationKeyEvent (wxNavigationKeyEvent &evt) |
bool | Destroy () override |
Private Attributes | |
bool | mInTabOrder { true } |
Friends | |
void | ListNavigationEnabled_HandleCharHook (wxWindow *self, wxKeyEvent &evt) |
void | ListNavigationEnabled_HandleKeyDown (wxWindow *self, wxKeyEvent &evt) |
void | ListNavigationEnabled_HandleNavigationKeyEvent (wxWindow *self, wxNavigationKeyEvent &evt, bool inTabOrder) |
void | ListNavigationEnabled_HandleDestroy (wxWindow *self) |
Changes default arrow navigation to behave more list- or table-like. Instead of searching focusable items among children first, list navigation searches for siblings when arrow key is pressed. Tab behaviour stays same. Requires wxWANT_CHARS style flag to be set.
Definition at line 24 of file ListNavigationEnabled.h.
|
inline |
Definition at line 33 of file ListNavigationEnabled.h.
References ListNavigationEnabled< WindowBase >::OnCharHook(), ListNavigationEnabled< WindowBase >::OnKeyDown(), and ListNavigationEnabled< WindowBase >::OnNavigationKeyEvent().
|
inlineoverrideprivate |
Definition at line 64 of file ListNavigationEnabled.h.
References ListNavigationEnabled< WindowBase >::ListNavigationEnabled_HandleDestroy.
|
inlineprivate |
Definition at line 49 of file ListNavigationEnabled.h.
References ListNavigationEnabled< WindowBase >::ListNavigationEnabled_HandleCharHook.
Referenced by ListNavigationEnabled< WindowBase >::ListNavigationEnabled().
|
inlineprivate |
Definition at line 54 of file ListNavigationEnabled.h.
References ListNavigationEnabled< WindowBase >::ListNavigationEnabled_HandleKeyDown.
Referenced by ListNavigationEnabled< WindowBase >::ListNavigationEnabled().
|
inlineprivate |
Definition at line 59 of file ListNavigationEnabled.h.
References ListNavigationEnabled< WindowBase >::ListNavigationEnabled_HandleNavigationKeyEvent, and ListNavigationEnabled< WindowBase >::mInTabOrder.
Referenced by ListNavigationEnabled< WindowBase >::ListNavigationEnabled().
|
inlineoverrideprivate |
Definition at line 43 of file ListNavigationEnabled.h.
References BasicUI::SetFocus().
|
inline |
Definition at line 40 of file ListNavigationEnabled.h.
References ListNavigationEnabled< WindowBase >::mInTabOrder.
|
friend |
Definition at line 13 of file ListNavigationEnabled.cpp.
Referenced by ListNavigationEnabled< WindowBase >::OnCharHook().
|
friend |
Definition at line 73 of file ListNavigationEnabled.cpp.
Referenced by ListNavigationEnabled< WindowBase >::Destroy().
|
friend |
Definition at line 29 of file ListNavigationEnabled.cpp.
Referenced by ListNavigationEnabled< WindowBase >::OnKeyDown().
|
friend |
Definition at line 42 of file ListNavigationEnabled.cpp.
Referenced by ListNavigationEnabled< WindowBase >::OnNavigationKeyEvent().
|
private |
Definition at line 70 of file ListNavigationEnabled.h.
Referenced by ListNavigationEnabled< WindowBase >::OnNavigationKeyEvent(), and ListNavigationEnabled< WindowBase >::SetInTabOrder().