- 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前端開發模塊化教程
- Learn TypeScript 3 by Building Web Applications
- 觸·心:DT時代的大數據精準營銷
- 軟件測試技術指南
- Learning FuelPHP for Effective PHP Development
- Linux:Embedded Development
- Mastering ROS for Robotics Programming
- Processing創意編程指南
- 鴻蒙OS應用編程實戰
- SciPy Recipes
- 實戰Java高并發程序設計(第2版)
- 跟戴銘學iOS編程:理順核心知識點
- Exploring SE for Android
- 高性能PHP 7
- 從零開始構建深度前饋神經網絡:Python+TensorFlow 2.x