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

Method onAction

src/app/TipWindow.cpp:154–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152 struct CloseButton : ui::Button {
153 TipWindow* tipWindow;
154 void onAction(const ActionEvent& e) override {
155 tipWindow->getParent()->requestDelete();
156 }
157 };
158 CloseButton* closeButton = new CloseButton;
159 closeButton->box.size.x = buttonWidth;

Callers

nothing calls this directly

Calls 2

requestDeleteMethod · 0.80
getParentMethod · 0.80

Tested by

no test coverage detected