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

Method appendContextMenu

include/app/ModuleWidget.hpp:78–78  ·  view source on GitHub ↗

Override to add context menu entries to your subclass. It is recommended to add a blank `ui::MenuSeparator` first for spacing. */

Source from the content-addressed store, hash-verified

76 It is recommended to add a blank `ui::MenuSeparator` first for spacing.
77 */
78 virtual void appendContextMenu(ui::Menu* menu) {}
79
80 void onHover(const HoverEvent& e) override;
81 void onHoverKey(const HoverKeyEvent& e) override;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected