Audacity 3.2.0
Classes | Namespaces | Functions | Variables
KeyboardCapture.cpp File Reference
#include "KeyboardCapture.h"
#include "CFResources.h"
#include <wx/textctrl.h>
#include <AppKit/AppKit.h>
#include <wx/osx/core/private.h>
#include <wx/osx/cocoa/private.h>
#include <wx/app.h>
#include <wx/button.h>
#include <wx/eventfilter.h>
#include <wx/toplevel.h>
#include <wx/weakref.h>
#include <wx/window.h>
#include "AudacityException.h"
Include dependency graph for KeyboardCapture.cpp:

Go to the source code of this file.

Classes

class  EventMonitor
 

Namespaces

namespace  anonymous_namespace{KeyboardCapture.cpp}
 
namespace  KeyboardCapture
 

Functions

 DEFINE_EVENT_TYPE (EVT_CAPTURE_KEY)
 Custom events. More...
 
wxWindowRef & anonymous_namespace{KeyboardCapture.cpp}::sHandler ()
 
bool KeyboardCapture::IsHandler (const wxWindow *handler)
 
wxWindow * KeyboardCapture::GetHandler ()
 
void KeyboardCapture::Capture (wxWindow *handler)
 
void KeyboardCapture::Release (wxWindow *handler)
 
void KeyboardCapture::OnFocus (wxWindow &window, wxFocusEvent &event)
 a function useful to implement a focus event handler The window releases the keyboard if the event is for killing focus, otherwise the window captures the keyboard; then refresh the window and skip the event More...
 

Variables

EventMonitor monitor
 

Function Documentation

◆ DEFINE_EVENT_TYPE()

DEFINE_EVENT_TYPE ( EVT_CAPTURE_KEY  )

Custom events.

Variable Documentation

◆ monitor

EventMonitor monitor
static

Referenced by IsWindowAccessible().