https://user-images.githubusercontent.com/71159641/232181268-cf20d227-d0bd-4840-9b31-fa3af150e4c8.mp4
https://github.com/littlewhitecloud/CustomTkinterTitlebar-Examples
你可以使用Pip来安装 You can use pip to install
pip install CustomTkinterTitlebar>=1.0.7.3
你也可以直接从github上下载原码或查看发布 You can also download the code from github or check the realase
- Windows 10
- Python >= 3.8.0
- Tcl/Tk >= 8.6.0
- Pillow >= 9.0.0
- darkdetect >= 0.8.0
- BlurWindow >= 1.2.1
python -m pip install --upgrade pip pip install pillow --user pip install darkdetect --user pip install BlurWindow --user
或者只运行 Or just run
pip install CustomTkinterTitlebar --user
from customtkintertitlebar import Tk
from tkinter import ttk
example = Tk()
example.title("TitleBar")
example.geometry("1030x570")
en = ttk.Entry(example.titlebar)
en.pack(fill = Y, expand = True, ipadx = 30, pady = 5)
example.mainloop()
感谢 @HuyHung1408花时间来在Windows11上测试它! Thanks @HuyHung1408 for testing it on windows 11!