MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / onAction

Method onAction

src/AsyncDialog.cpp:239–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237 struct AsyncCancelButton : Button {
238 AsyncTextInput* dialog;
239 void onAction(const ActionEvent& e) override {
240 dialog->getParent()->requestDelete();
241 }
242 };
243 AsyncCancelButton* const cancelButton = new AsyncCancelButton;
244 cancelButton->box.size.x = buttonWidth;

Callers

nothing calls this directly

Calls 2

requestDeleteMethod · 0.80
getParentMethod · 0.80

Tested by

no test coverage detected