MCPcopy Create free account
hub / github.com/AshampooSystems/boden / removeChildView

Method removeChildView

framework/ui/src/ContainerView.cpp:23–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 }
22
23 void ContainerView::removeChildView(const std::shared_ptr<View> &childView)
24 {
25 if (auto containerCore = core<ContainerView::Core>()) {
26 containerCore->removeChildView(childView);
27 View::setParentViewOfView(childView, nullptr);
28 } else {
29 throw std::runtime_error("???");
30 }
31 }
32
33 void ContainerView::removeAllChildViews()
34 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected