- Tkinter GUI Application Development Cookbook
- Alejandro Rodas de Paz
- 76字
- 2021-08-27 19:44:06
How it works...
The methods title() and iconbitmap() of the Tk class are very self-descriptive—the first one sets the window title, whereas the second one takes the path to the icon that is associated to the window.
The geometry() method configures the size of the window with a string that follows the following pattern:
{width}x{height}+{offset_x}+{offset_y}
In case you add more secondary windows to your application, these methods are also available in the Toplevel class.
推薦閱讀
- ReSharper Essentials
- Mastering Ubuntu Server
- Python機器學習:手把手教你掌握150個精彩案例(微課視頻版)
- 領域驅動設計:軟件核心復雜性應對之道(修訂版)
- 區塊鏈底層設計Java實戰
- Mastering Akka
- 30天學通C#項目案例開發
- Web前端開發最佳實踐
- 網頁設計與制作
- Learn Linux Quickly
- Distributed Computing with Python
- Hands-On Artificial Intelligence with Unreal Engine
- Python服務端測試開發實戰
- F# for Machine Learning Essentials
- “笨辦法”學Python 3