MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / action

Method action

example_plugin/MyPlugin.cpp:15–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13public:
14 MyTool() : RibbonMenuItem( "My Tool" ) {}
15 virtual bool action() override
16 {
17 showModal( "Hello World!", MR::NotificationType::Info );
18 return false; // true will lead Viewer to keep this tool activated in ribbon
19 }
20};
21
22class MyStateTool : public StatePlugin

Callers

nothing calls this directly

Calls 1

showModalFunction · 0.85

Tested by

no test coverage detected