How can I can a function and create a function for the icon context menu? I want to make the iconic Open New Window
function pop-up when you right click on the icon menu in the taskbar/dock. See this question for more info on this kind of question.
Places I have looked but found nothing: