CustomTkinterTitlebar

自定义标题栏 CustomTkinterTitlebar

image

image image

📃 这是一个项目可以帮助你拥有一个自定义的标题栏!小组件可以被放到这个标题栏里面 This is a project can help you to have a custom titlebar! Widgets can add into titlebar!

关于更多这个项目,我写了一篇文章在Bilibili上,它很详细的说了这个项目 More about this project, I wrote an article on Bilibili, which talks about this project in more detail: https://www.bilibili.com/read/cv20558473

如果你喜欢它,请给颗星! leave a star if you like it!

预览 View:

https://user-images.githubusercontent.com/71159641/232181268-cf20d227-d0bd-4840-9b31-fa3af150e4c8.mp4

插入组件 Insert component to titlebar:

image

自定义最大化最小化 Custom minsize & maxsize:

image image image image

亮主题 Light Theme:

image image

聚焦和未聚焦 Focus in & out:

image image

云母 Mica:

image image

模糊 Blur:

image

亚克力 Fluent :

image

🎰 样例 Example:

https://github.com/littlewhitecloud/CustomTkinterTitlebar-Examples

📚 *维基* *Wiki*:

https://github.com/littlewhitecloud/CustomTkinterTitlebar/wiki/Script

📥 下载 Download:

你可以使用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

📦 依赖 Require:

📖 用法 Usage:

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()

💾 支持 Support:

它现在支持 Windows 10/11 32/64 位 It support Windows 10/11 32/64 bits now.

感谢 @HuyHung1408花时间来在Windows11上测试它! Thanks @HuyHung1408 for testing it on windows 11!