MCPcopy Create free account
hub / github.com/MyGUI/mygui / ContextMenu

Method ContextMenu

UnitTests/UnitTest_GraphView/ContextMenu.h:18–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 {
17 public:
18 ContextMenu(std::string_view _layout) :
19 BaseLayout(_layout, nullptr)
20 {
21 assignWidget(mMenu, "_Main");
22 mMenu->setVisible(false);
23 mMenu->eventMenuCtrlAccept += MyGUI::newDelegate(this, &ContextMenu::notifyMenuCtrlAccept);
24 }
25
26 void setVisible(bool _value)
27 {

Callers

nothing calls this directly

Calls 3

assignWidgetFunction · 0.85
newDelegateFunction · 0.85
setVisibleMethod · 0.45

Tested by

no test coverage detected