Audacity 3.2.0
|
Pre-filter is called before passing the event to the captured window. More...
#include <KeyboardCapture.h>
Additional Inherited Members | |
Public Types inherited from GlobalHook< PreFilter, bool(wxKeyEvent &) > | |
using | result_type = typename std::function< bool(wxKeyEvent &) >::result_type |
using | Scope = typename GlobalVariable< PreFilter, const std::function< bool(wxKeyEvent &) >, nullptr, Options... >::Scope |
Public Types inherited from GlobalVariable< PreFilter, const std::function< bool(wxKeyEvent &) >, nullptr, Options... > | |
using | variable_type = GlobalVariable |
using | stored_type = const std::function< bool(wxKeyEvent &) > |
using | mutable_type = std::remove_const_t< const std::function< bool(wxKeyEvent &) > > |
Static Public Member Functions inherited from GlobalHook< PreFilter, bool(wxKeyEvent &) > | |
static result_type | Call (Arguments &&...arguments) |
Null check of the installed function is done for you. More... | |
Static Public Member Functions inherited from GlobalVariable< PreFilter, const std::function< bool(wxKeyEvent &) >, nullptr, Options... > | |
static stored_type & | Get () |
Get the installed value. More... | |
static auto | Set (std::conditional_t< ScopedOnly, dummy, mutable_type > replacement) -> std::conditional_t< ScopedOnly, void, mutable_type > |
Move in a new value, move out and return the previous. More... | |
Pre-filter is called before passing the event to the captured window.
If it returns false, then skip the event entirely
Definition at line 43 of file KeyboardCapture.h.