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

Method createChildMenu

include/helpers.hpp:341–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339 std::function<void(ui::Menu* menu)> createMenu;
340
341 ui::Menu* createChildMenu() override {
342 ui::Menu* menu = new ui::Menu;
343 createMenu(menu);
344 return menu;
345 }
346 };
347
348 Item* item = createMenuItem<Item>(text, rightText + (rightText.empty() ? "" : " ") + RIGHT_ARROW);

Callers

nothing calls this directly

Calls 4

createMenuFunction · 0.85
createCheckMenuItemFunction · 0.85
addChildMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected