Find new ways

I want to add options on the menu bar of grasshopper, like this


But so far, I haven’t found a relevant method to implement it with scripts. I want to ask you for advice; By the way, I wonder if Python has a way to implement it?