Navigating Records with Treeview

You've received another request for features in the application. Now that your users can open arbitrary files, they'd like to be able to see what's in those files and correct old records using the data entry form they've grown accustomed to, rather than having to switch over to a spreadsheet. In a nutshell, it's finally time to implement read and update capabilities in our application.

In this chapter, we're going to cover the following topics:

  • Modifying our CSV model for read and update capabilities
  • Discovering the ttk Treeview widget, and building a list of records with it
  • Implementing record loading and updating in our data record form
  • Redesigning the menu and application with read and update in mind

Get Python GUI Programming with Tkinter now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.