Skip to main content

This is a project can help you to have a custom titlebar!

Project description

🌏 简体中文

📜 CustomTkinterTitlebar

image

📃 This is a project can help you to have a custom titlebar! Widgets can add into titlebar!

❔ More about this project, I wrote an article on Bilibili, which talks about this project in more detail: _ https://www.bilibili.com/read/cv20558473

Hope got some stars~

🎰 Demo:

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

📚 Wiki:

If you'd like to know how to use the functions you can call, visit the Script section of the CustomTkinterTitlebar wiki:

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

📥 Download:

You can use pip to install

pip install CustomTkinterTitlebar>=1.0.7.3

You can also download the code from github or check the realase

View:

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

insert component to titlebar:

image

Blur:

image

Fluent :

image

icon & windowtext:

image image image

Custom minsize & maxsize:

image image image image

Light Theme:

image image

Focus on:

image

Focus out:

image

📦 Require:

  • Windows 10
  • Python >= 3.8.0
  • Tcl/Tk >= 8.6.0
  • Pillow >= 9.0.0
  • darkdetect >= 0.8.0
  • BlurWindow >= 1.2.1 If you don't use blur, you can ignore it
python -m pip install --upgrade pip
pip install pillow --user
pip install darkdetect --user
pip install BlurWindow --user 

📖 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:

It support Windows 10 32 / 64 bit now.

Maybe it also support Windows 11, I am using Windows 10, I didn't test this project on Windows 11 yet

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

CustomTkinterTitlebar-1.0.7.8.tar.gz (117.4 kB view hashes)

Uploaded Source

Built Distribution

CustomTkinterTitlebar-1.0.7.8-py3-none-any.whl (121.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page