Making a Text Editor

We got a fairly high-level overview of Tkinter in Chapter 1, Meet Tkinter. Now that we know some things about Tkinter's core widgets, geometry management, and the binding of commands and events to callbacks, let's use our skills in this project to create a text editor.

We will, in the process of creating a text editor, take a closer look at some widgets and learn how to tweak them to meet our specific needs.

The following are the key objectives for this project:

  • Delving into some commonly used widgets, such as the Menu, Menubutton, Text, Entry, Checkbutton, and Button widgets
  • Exploring the filedialog and messagebox modules of Tkinter
  • Learning the vital concepts of indexing and tagging, as applied to Tkinter
  • Identifying ...

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