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.1.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for customtkinterx-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c95498fb25858a5cbf4f1a4c65fdacd7f4347ca6acd87775b61f3bb4372dcd8a |
|
MD5 | cda4531382e8fbc2e16ca4b165323b3e |
|
BLAKE2b-256 | e5e20cde07896f950b241139488c6bd7e5a871491cc387febfa27672aaee13f4 |