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

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
主站蜘蛛池模板: 曲沃县| 千阳县| 台南市| 鄱阳县| 泰顺县| 上饶县| 隆昌县| 剑河县| 云浮市| 温泉县| 阿拉善左旗| 唐山市| 高阳县| 河曲县| 双辽市| 阿坝| 左云县| 兴安盟| 乌鲁木齐市| 威海市| 濮阳市| 石楼县| 大理市| 镇远县| 凉山| 鄂伦春自治旗| 古浪县| 田阳县| 鲁甸县| 灵山县| 德惠市| 容城县| 贡山| 长乐市| 德格县| 大丰市| 会东县| 水城县| 龙陵县| 广平县| 舒兰市|