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

Post-filter is conditionally called after passing the event to the window. More...

#include <KeyboardCapture.h>

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

Additional Inherited Members

- Public Types inherited from GlobalHook< PostFilter, bool(wxKeyEvent &) >
using result_type = typename std::function< bool(wxKeyEvent &) >::result_type
 
using Scope = typename GlobalVariable< PostFilter, const std::function< bool(wxKeyEvent &) >, nullptr, Options... >::Scope
 
- Public Types inherited from GlobalVariable< PostFilter, 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< PostFilter, 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< PostFilter, 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

Post-filter is conditionally called after passing the event to the window.

Post-filter is called if the captured window skips either the EVT_CAPTURE_KEY or the following wxKEY_DOWN event (but not if it skips only the wxEVT_CHAR or wxEVT_KEY_UP event); it is passed a wxKEY_DOWN or a wxKEY_UP event; if it returns false, then the event is skipped

Definition at line 55 of file KeyboardCapture.h.


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