Title: Add an MRU list to the scribble program in Python and tkinter
This example starts where the example Add safe document handling to the scribble program in Python and tkinter leaves off and uses the techniques described in the post Add an MRU list to a program in Python and tkinter to add an MRU list.
Most of the ideas from the MRU post fit into the scribble program fairly easily. There are a few details that you need to handle, but I'm going to be lazy and let you look at the earlier posts and the code to see the details.
Also note that I haven't thoroughly tested this program. In particular, I haven't bothered to make it resilient in case the MRU file mru_list.json cannot be read or written.
Download the example to see all of the details.
|