How to add a panel context menu


Is there a way to add a custom context menu to a panel?