Audacity 3.2.0
List of all members
KeyboardCapture::PreFilter Struct Reference

Pre-filter is called before passing the event to the captured window. More...

#include <KeyboardCapture.h>

Inheritance diagram for KeyboardCapture::PreFilter:
[legend]
Collaboration diagram for KeyboardCapture::PreFilter:
[legend]

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_typeGet ()
 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...
 

Detailed Description

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.


The documentation for this struct was generated from the following file: