Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Implement Getter for MainWindow's menus #1418
Creates an ENUM to represent the default Menus of MainWindow and a function to get a Menu by a specific type. This is also a useful binding for python plugins.
For example, to add a new action to the Edit menu, I can simply do: