- Tkinter GUI Application Development Blueprints(Second Edition)
- Bhaskar Chaudhary
- 109字
- 2021-06-24 18:35:06
Some common root window options
Now that we are done discussing styling options, let's wrap up with a discussion on some commonly used options for the root window:

Let's explain these styling options in more detail:
- root.geometry('142x280+150+200'): Specifying the geometry of the root window limits the launch size of the root window. If the widgets do not fit in the specified size, they get clipped from the window. It is often better not to specify this and let Tkinter decide this for you.
- self.root.wm_iconbitmap('my_icon.ico') or self.root.iconbitmap('my_icon.ico '): This option is only applicable to Windows. Unix-based operating systems do not display the title bar icon.
推薦閱讀
- Java面向對象思想與程序設計
- MongoDB for Java Developers
- Magento 2 Theme Design(Second Edition)
- Visual Basic程序設計(第3版):學習指導與練習
- Mastering Swift 2
- Java系統化項目開發教程
- 從零開始:UI圖標設計與制作(第3版)
- Python 3 數據分析與機器學習實戰
- Web前端開發技術:HTML、CSS、JavaScript
- 面向對象程序設計及C++(第3版)
- Java Web開發教程:基于Struts2+Hibernate+Spring
- IBM RUP參考與認證指南
- LibGDX Game Development By Example
- C++面向對象程序設計教程
- 微信公眾平臺服務號開發:揭秘九大高級接口