官术网_书友最值得收藏!

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 in conjunction with some standard and third-party modules
  • Understanding the need for multithreading and how to write multithreaded applications
  • Learning about object serialization or pickling
  • Learning about ttk widgets
主站蜘蛛池模板: 张家港市| 恩施市| 怀远县| 海兴县| 东辽县| 东乌珠穆沁旗| 新邵县| 柘荣县| 周宁县| 兴和县| 建昌县| 临汾市| 永吉县| 彩票| 古交市| 景宁| 平罗县| 新泰市| 闽侯县| 长乐市| 灌云县| 依安县| 志丹县| 临汾市| 绥宁县| 九龙城区| 仁化县| 涞水县| 田阳县| 梅河口市| 玉树县| 红安县| 文山县| 江山市| 丘北县| 和田县| 岳西县| 尉氏县| 堆龙德庆县| 福建省| 雷山县|