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

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
主站蜘蛛池模板: 万盛区| 德安县| 芦山县| 江津市| 封开县| 台南市| 石林| 吉安县| 砚山县| 阳信县| 乌鲁木齐市| 双桥区| 和田市| 壶关县| 宝坻区| 南京市| 昔阳县| 乐亭县| 甘肃省| 贵州省| 施秉县| 遂宁市| 蚌埠市| 阿图什市| 江油市| 安达市| 班玛县| 洪湖市| 德江县| 阳江市| 天镇县| 峡江县| 南郑县| 湘潭县| 修文县| 杂多县| 五家渠市| 宁都县| 梨树县| 乌拉特后旗| 织金县|