Audacity  3.2.0
Public Member Functions | List of all members
InstallTopPanelHook Struct Reference

Public Member Functions

 InstallTopPanelHook ()
 

Detailed Description

Definition at line 1852 of file ProjectWindow.cpp.

Constructor & Destructor Documentation

◆ InstallTopPanelHook()

InstallTopPanelHook::InstallTopPanelHook ( )
inline

Definition at line 1852 of file ProjectWindow.cpp.

1852  { InstallTopPanelHook() {
1854  []( wxWindow &window ){
1855  auto pProjectWindow = dynamic_cast< ProjectWindow* >( &window );
1856  return pProjectWindow ? pProjectWindow->GetTopPanel() : nullptr;
1857  }
1858  );

References ProjectWindow::GetTopPanel(), InstallTopPanelHook(), and ToolManager::SetGetTopPanelHook().

Referenced by InstallTopPanelHook().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this struct was generated from the following file:
ProjectWindow::GetTopPanel
wxPanel * GetTopPanel()
Definition: ProjectWindow.h:57
ProjectWindow
A top-level window associated with a project, and handling scrollbars and zooming.
Definition: ProjectWindow.h:33
ToolManager::SetGetTopPanelHook
static GetTopPanelHook SetGetTopPanelHook(const GetTopPanelHook &)
Definition: ToolManager.cpp:342
installTopPanelHook
static struct InstallTopPanelHook installTopPanelHook
InstallTopPanelHook::InstallTopPanelHook
InstallTopPanelHook()
Definition: ProjectWindow.cpp:1852