Programmable Drum Machine

We looked at several common Tkinter widgets, such as Menu, Buttons, Label, and Text, in Chapter 2, Making a Text Editor. Let's now expand our experience with Tkinter to make some music. Let's build a cross-platform drum machine using Tkinter and some other Python modules.

Some of the key objectives for this chapter are:

  • Learning to structure Tkinter programs in the object-oriented style of programming
  • Delving deeper into a few more Tkinter widgets, such as Spinbox, Button, Entry, and Checkbutton
  • Applying the grid geometry manager in a practical project
  • Understanding the importance of choosing the right data structure for our programs
  • Learning to bind higher-order callback functions to widgets
  • Learning to use Tkinter ...

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.