Skip to Content
Python GUI Programming with Tkinter
book

Python GUI Programming with Tkinter

by Alan D. Moore
May 2018
Beginner to intermediate content levelBeginner to intermediate
452 pages
11h 26m
English
Packt Publishing
Content preview from Python GUI Programming with Tkinter

Modifying the record form for read and update

As long as we're editing views, we'll need to look at our DataRecordForm view and adjust it to make it capable of updating records.

Take a moment and consider the following changes we'll need to make:

  • The form will need some way to load in a record provided by the controller.
  • The form will need to keep track of what record it's editing, or if it's a new record.
  • Our user will need some visual indication of what record is being edited.
  • Our Save button is currently in the application. It doesn't really make sense in any context other than the form, so it should probably be part of the form.
  • This means our form will need a callback to call when the save button is clicked. We'll need to provide it ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python GUI Programming with Tkinter - Second Edition

Python GUI Programming with Tkinter - Second Edition

Alan D. Moore

Publisher Resources

ISBN: 9781788835886Supplemental Content