extra widgets for customtkinter
Project description
CustomTkinterX
customtkinter
的扩展组件功能库
Fluent主题
尚未完善设置,修改了CTk
CTkToplevel
CTkFrame
CTkButton
CTKEntry
CTkComboBox
等类。
from customtkinter import *
from customtkinterx import *
CTkFluentTheme()
自定义窗口
原窗口因标题栏与边框的限制,导致界面效果极差,但是仍可以通过一些方法自定义窗口wm_overrideredirect
。
平台支持Windows
MacOS
Linux
,其中界面效果支持最好的是Windows
,MacOS
Linux
无法使用透明色,完全消除边框使用圆角,
及将图标保留至任务栏,采用置顶的方法保持窗口的显示。
基础示例
from customtkinter import *
from customtkinterx import *
root = CTkCustom()
root.mainloop()
添加缩放窗口大小的手柄
CTKCustom.create_sizegrip()
from customtkinter import *
from customtkinterx import *
root = CTkCustom()
root.create_sizegrip()
root.mainloop()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
customtkinterx-0.1.4.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for customtkinterx-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0729424c92044512fd8706ea5493193e36a5f155d601a193dc5484ae6e60ea9 |
|
MD5 | e1a11c3f8ea2c475561fb2d987036f6f |
|
BLAKE2b-256 | 1751f92d5578690c76135c4948dd526688b9053423c8af9fe1181b5e5c71a7e4 |