- 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.
- Apache Oozie Essentials
- Learn to Create WordPress Themes by Building 5 Projects
- AWS Serverless架構(gòu):使用AWS從傳統(tǒng)部署方式向Serverless架構(gòu)遷移
- 信息可視化的藝術(shù):信息可視化在英國
- Rust Cookbook
- Python時(shí)間序列預(yù)測
- 精通Python自動(dòng)化編程
- 移動(dòng)增值應(yīng)用開發(fā)技術(shù)導(dǎo)論
- Application Development with Parse using iOS SDK
- Java程序設(shè)計(jì)實(shí)用教程(第2版)
- Go Systems Programming
- Java網(wǎng)絡(luò)編程實(shí)用精解
- JavaScript程序設(shè)計(jì)實(shí)例教程(第2版)
- PHP程序員面試算法寶典
- Fast Data Processing with Spark 2(Third Edition)