Giter VIP home page Giter VIP logo

agentosroza / customtkintertitlebar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from littlewhitecloud/customtkintertitlebar

0.0 0.0 0.0 1.02 MB

This is a 📚project can help you to have a custom titlebar! 这是一个可以创建自定义标题栏的📚项目

Home Page: https://github.com/littlewhitecloud/CustomTkinterTitlebar

License: MIT License

Python 93.93% C 4.79% Batchfile 1.28%

customtkintertitlebar's Introduction

自定义标题栏 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:

2023-04-15.11-38-37.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:

📥 下载 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:

  • 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

📖 用法 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!

customtkintertitlebar's People

Contributors

littlewhitecloud avatar sadjok avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.