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

Method SetChild

src/widgets/ExpandingToolBar.cpp:755–762  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

753}
754
755void ToolBarDialog::SetChild(ExpandingToolBar *child)
756{
757 mChild = child;
758 if (mChild && mChild->GetParent() != this)
759 mChild->Reparent(this);
760
761 Fit();
762}
763
764void ToolBarDialog::Fit()
765{

Callers 1

OnSizeMethod · 0.80

Calls 2

GetParentMethod · 0.45
ReparentMethod · 0.45

Tested by

no test coverage detected