MCPcopy Create free account
hub / github.com/audacity/audacity / ToolbarsMenu

Function ToolbarsMenu

src/menus/ToolbarMenus.cpp:11–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9using namespace MenuRegistry;
10
11auto ToolbarsMenu()
12{
13 static auto menu = std::shared_ptr{
14 Section( wxT("Toolbars"),
15 Menu( wxT("Toolbars"), XXO("&Toolbars"),
16 Section( "Reset",
17 /* i18n-hint: (verb)*/
18 Command( wxT("ResetToolbars"), XXO("Reset Toolb&ars"),
19 ToolManager::OnResetToolBars, AlwaysEnabledFlag )
20 ),
21
22 Section( "Other" )
23 )
24 ) };
25 return menu;
26}
27
28AttachedItem sAttachment1{ Indirect(ToolbarsMenu()),
29 Placement{ wxT("View/Other"), { OrderingHint::Begin } }

Callers 1

ToolbarMenus.cppFile · 0.85

Calls 1

SectionClass · 0.85

Tested by

no test coverage detected