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

Method GetToolBar

src/toolbars/ToolManager.cpp:979–983  ·  view source on GitHub ↗

Return a pointer to the specified toolbar or nullptr

Source from the content-addressed store, hash-verified

977// Return a pointer to the specified toolbar or nullptr
978//
979ToolBar *ToolManager::GetToolBar(const Identifier &type) const
980{
981 auto end = mBars.end(), iter = mBars.find(type);
982 return (iter == end) ? nullptr : iter->second.get();
983}
984
985//
986// Return a pointer to the top dock

Callers 13

FindMethod · 0.80
ControlToolBar.cppFile · 0.80
DeviceToolBar.cppFile · 0.80
ToolsToolBar.cppFile · 0.80
MeterToolBar.cppFile · 0.80
SelectionBar.cppFile · 0.80

Calls 3

endMethod · 0.45
findMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected