Is there any way to show a menu when a NSWindow is right-clicked?
Rightclick on a view in the window and you will find a property called "menu". Connect this menu property with the menu which should be shown after a right click.