title: Open new window - tkinter/tk taskbar/dock
body: <p>How can I can a function and create a function for the icon context menu? I want to make the iconic <code>Open New Window</code> function pop-up when you right click on the icon menu in the taskbar/dock. <a href="https://stackoverflow.com/questions/72280411/tkinter-taskbar-dock-icon-menu">See this question for more info on this kind of question</a>.</p>
  <p>Places I have looked but found nothing:</p>
  <ul>
  <li><a href="https://www.tcl.tk/man/tcl8.5/TkCmd/tk_mac.html#M15" rel="nofollow noreferrer">https://www.tcl.tk/man/tcl8.5/TkCmd/tk_mac.html#M15</a></li>
  <li><a href="https://pyinstaller.org/en/stable/feature-notes.html#open-event-handling-in-a-tkinter-based-gui-application" rel="nofollow noreferrer">https://pyinstaller.org/en/stable/feature-notes.html#open-event-handling-in-a-tkinter-based-gui-application</a></li>
  </ul>