- Tkinter GUI Application Development Cookbook
- Alejandro Rodas de Paz
- 102字
- 2021-08-27 19:44:05
Handling mouse and keyboard events
Being able to react to events is one of the most basic but important topics in GUI application development since it determines how users can interact with the program.
Pressing keys of the keyboard and clicking on items with the mouse are some common types of events, which are automatically handled in some Tkinter classes. For instance, this behavior is already implemented on the command option of the Button widget class, which invokes the specified callback function.
Some events can get triggered without user interaction, such as changing the input focus programmatically from one widget to another.
推薦閱讀
- Apache ZooKeeper Essentials
- Oracle 11g從入門(mén)到精通(第2版) (軟件開(kāi)發(fā)視頻大講堂)
- Mastering Adobe Captivate 2017(Fourth Edition)
- Raspberry Pi Networking Cookbook(Second Edition)
- Learning RabbitMQ
- Mastering Scientific Computing with R
- Reactive Programming With Java 9
- JS全書(shū):JavaScript Web前端開(kāi)發(fā)指南
- 匯編語(yǔ)言編程基礎(chǔ):基于LoongArch
- R數(shù)據(jù)科學(xué)實(shí)戰(zhàn):工具詳解與案例分析
- R Data Science Essentials
- IoT Projects with Bluetooth Low Energy
- Scala Functional Programming Patterns
- Java 9 with JShell
- Web前端開(kāi)發(fā)最佳實(shí)踐