Chapter 8. Miscellaneous Tips

We have reached the final chapter of the book. Let's end our discussion on Tkinter by looking at some concepts that, though very common in many GUI programs, did not appear in the previous chapters.

Chapter objectives

The following are the key objectives of this chapter:

  • Tracing Tkinter variables and attaching callbacks that are triggered when the value of a variable changes
  • Understanding the default keyboard widget traversal rules to provide a consistent user experience
  • Validating user input using built-in Tkinter mechanisms
  • Formatting a widget's content as the user interacts with the widget
  • Understanding how Tkinter handles fonts and the best practices involved in using custom fonts in Tkinter
  • Redirecting the command-line ...

Get Tkinter GUI Application Development Blueprints 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.