- Tkinter GUI Programming by Example
- David Love
- 217字
- 2021-08-27 18:49:06
Meet Tkinter
Hello, and welcome to Tkinter GUI Programming by Example. In this book, we will be building three real-world desktop applications using Python and Tkinter. You will gain the knowledge to fully utilize Tkinter's vast array of widgets to create and lay out any application you choose.
So why use Tkinter? Tkinter comes bundled with Python most of the time, meaning there's no arduous installation process. It's also licensed under a free software license, meaning, unlike some other GUI frameworks, there's no complicated licensing model to battle against when you want to release your software to the outside world.
Tkinter is also very quick and easy to learn. Code can be written both procedurally or using object-oriented practices (which is the preferred style for anything non-experimental), and runs perfectly on any operating system supporting Python development, including Windows, macOS, and Linux.
In this first chapter, we will cover the following topics:
- Ensuring Tkinter is installed and available
- Creating a main window in which to display your application
- Laying out widgets inside the window via geometry managers
- Creating widgets and displaying them inside your main window
- Displaying static information via a label widget
- Creating interactivity with the Button widget
- Tying widgets to Python functions
- Using Tkinter's special variables
- Displaying pop-up messages easily
- Getting information from the user
- 嵌入式軟件系統(tǒng)測試:基于形式化方法的自動化測試解決方案
- Python自然語言處理實戰(zhàn):核心技術與算法
- PyTorch自動駕駛視覺感知算法實戰(zhàn)
- HTML5+CSS3基礎開發(fā)教程(第2版)
- 深入淺出Windows API程序設計:編程基礎篇
- Java性能權威指南(第2版)
- Node.js全程實例
- jQuery Mobile移動應用開發(fā)實戰(zhàn)(第3版)
- Mastering Akka
- Flowable流程引擎實戰(zhàn)
- 代碼閱讀
- ActionScript 3.0從入門到精通(視頻實戰(zhàn)版)
- C++程序設計
- Java Hibernate Cookbook
- Visual C++從入門到精通(第2版)