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

Method onButton

include/widget/Widget.hpp:245–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243 int mods;
244 };
245 virtual void onButton(const ButtonEvent& e) {
246 recursePositionEvent(&Widget::onButton, e);
247 }
248
249 /** Occurs when the left mouse button is pressed a second time on the same Widget within a time duration.
250 Must consume the Button event (on left button press) to receive this event.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected