So, I'm coding a IDE in Python and I'm using Tkinter for the GUI. What I'm looking for is a way to add a "recent files" menu to the menu that opens when you right click the program's icon in Windows's task bar. I have a picture to show what I'm looking for:

Screen capture

Yeah, I want to add a "Recent Files" menu ("Viimeksi käytetyt tiedostot" in finnish) to my program.
Some of the texts are in finnish but I hope you get the idea... xD

I think that you can do this in Python & Tkinter, because IDLE (the program where the screenie is from) is coded in Python & Tkinter. I tried to look in to IDLE's source but I wasn't able to find anything usefull.

Thanks for already,


Edited by pyTony: Link format fixed to Markdown

5 Years
Discussion Span
Last Post by Tyyppi_77

I think the list contains all programs run by pythonw.exe (probably python.exe has separate list), idle is one of them. The list is propably not files edited with idle.py (I can not check it from work computer).


Okay, thanks for the reply! I guess I'll just put the menu to the menubar then.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.