0

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:

Image of menu from Windows

Image from Mac

TRCK
  • 231
  • 3
  • 12
  • That would depend on your GUI framework: PyGame, Tk, wxPython. It has absolutely nothing to do with what `pyinstaller` does. – BoarGules May 17 '22 at 21:31
  • I use Tkinter for my GUI's – TRCK May 17 '22 at 22:09
  • @BoarGules How would I create one? – TRCK May 29 '22 at 17:21
  • Even a little bit of research would have led you to this: https://stackoverflow.com/questions/12014210/tkinter-app-adding-a-right-click-context-menu – BoarGules May 29 '22 at 17:44
  • Does this answer your question? [tkinter app adding a right click context menu?](https://stackoverflow.com/questions/12014210/tkinter-app-adding-a-right-click-context-menu) – BoarGules May 29 '22 at 17:44
  • @BoarGules I actually have come across that. That question is for right clicking on the application. I want a menu for the icon menu. The icon menu is different – TRCK May 29 '22 at 18:01

0 Answers0