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.3.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for customtkinterx-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5206b810b821ef2054387e48ab6a995c392830f75a5553a74bf7c7430548f162 |
|
MD5 | 3d566a7fa2a034e2c6ccb83696788c08 |
|
BLAKE2b-256 | 3f42b8c4802dbf29210bb360673bafa714ba04353bb4989bbc01d5a6a9553f0d |