Plugin Top Menu Item

Hello,

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

Tanks.

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:

2019-11-18_10-51-07

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?

Thanks

no worries I’ll set them by reflection