How would I create a contextual/shortcut menu (Right Click menu from taskbar icon) and add a list of commands such as making a new window, list old files opened, etc? Important note: I want a menu for the icon in the taskbar/dock, not right clicking on the window
Image of desired menu: