- Tkinter GUI Application Development Blueprints(Second Edition)
- Bhaskar Chaudhary
- 146字
- 2021-06-24 18:35:04
Limitations of the command option
The command option that is available with the Button widget and a few other widgets is a function that can make the programming of a click-of-a-button event easy. Many other widgets do not provide an equivalent command binding option.
By default, the command button binds to the left-click and the spacebar. It does not bind to the Return key. Therefore, if you bind a button by using the command function, it will react to the space bar and not the Return key. This is counter-intuitive for many users. What's worse is that you cannot change the binding of the command function easily. The moral is that command binding, though a very handy tool, is not flexible enough when it comes to deciding your own bindings.
This brings us to the next method for handling events.
- JavaScript+jQuery網頁特效設計任務驅動教程(第2版)
- Machine Learning with R Cookbook(Second Edition)
- Practical DevOps
- R Data Analysis Cookbook(Second Edition)
- Natural Language Processing with Java and LingPipe Cookbook
- Mastering React
- Android開發三劍客:UML、模式與測試
- Solutions Architect's Handbook
- Android系統下Java編程詳解
- 例解Python:Python編程快速入門踐行指南
- Mastering ArcGIS Server Development with JavaScript
- 深度學習:基于Python語言和TensorFlow平臺(視頻講解版)
- Python游戲編程項目開發實戰
- Modular Programming with PHP 7
- MEAN Blueprints