How to modify the context menu of a foreign parameter

SUCCESS!!

Using the information shared in this thread, I was able to create a new Venom Widget Menu Extender module that lets users provide custom names for parameters and ports, and custom defaults for parameters.

Rather than import Ben’s ParamWidgetContextExtender.hpp, I incorporated the techniques directly into my module widget step() routine, and adapted it to work with ports as well as parameters.

Anyone interested can look at the WidgetMenuExtender.cpp source code starting at (or around) line 406.

Thanks again Ben @stoermelder, without your trailblazing work I could never have realized this module.

6 Likes