- 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.
推薦閱讀
- JavaScript百煉成仙
- Mastering Python Scripting for System Administrators
- Scratch 3游戲與人工智能編程完全自學教程
- Mastering Apache Spark 2.x(Second Edition)
- Learning Python Design Patterns
- Clojure Reactive Programming
- Oracle 18c 必須掌握的新特性:管理與實戰
- Raspberry Pi Robotic Projects(Third Edition)
- SQL Server 2008 R2數據庫技術及應用(第3版)
- Sails.js Essentials
- jQuery Mobile Web Development Essentials(Second Edition)
- Qt 5.12實戰
- SQL Server 2014 Development Essentials
- 第五空間戰略:大國間的網絡博弈
- Learning Puppet