Create new main menu items and add menu options to buttons
While adding things as dockers and custom user interfaces are nice, sometimes you need a collection of various items or actions. Adding things to the main menu could be a good option to keep everything together. Another advantage with menus is you can assign shortcuts to the actions that are easy to see and use. This is how you would create a new main menu area and add an item that does stuff.
A few of the UI components like buttons have a way to add drop-down options. This is how we could turn a normal button into something that adds a list of options as a menu.
We could have added our own created actions instead, but I wanted to show we can also re-use existing actions that come with Krita.
Head to the Krita artists where we have a dedicated area for plugin development and give any feedback you might have.