Plugin Top Menu Item


Anybody knows if it’s possible to add a new top menu item like that:


Yes, Metahopper and Pancake have menus there.

You can access Grasshopper.Instances.DocumentEditor and iterate over its controls. Do note that plug-ins are often loaded before the editor window is instantiated.

Thanks, it worked fine!

I’m trying to change the colors and it’s ok for regular winforms or inherited components, but I have problems to change it for the tabs:


I realized that the GH_RibbonTab is rendered by GH_RibbonPainter inside of Gh_RibbonTab but its using SystemColors.WindowText.

Is there a change to pass the color from outside?


no worries I’ll set them by reflection