MCPcopy Create free account
hub / github.com/VCVRack/Rack / onRemove

Method onRemove

src/app/CableWidget.cpp:402–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400
401
402void CableWidget::onRemove(const RemoveEvent& e) {
403 Widget* plugContainer = APP->scene->rack->getPlugContainer();
404 plugContainer->removeChild(outputPlug);
405 plugContainer->removeChild(inputPlug);
406 Widget::onRemove(e);
407}
408
409
410} // namespace app

Callers 4

removeChildMethod · 0.45
clearChildrenMethod · 0.45
stepMethod · 0.45
removeModule_NoLockMethod · 0.45

Calls 2

getPlugContainerMethod · 0.80
removeChildMethod · 0.80

Tested by

no test coverage detected