Skip to main content

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,其中界面效果支持最好的是WindowsMacOS 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


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)

Uploaded Source

Built Distribution

customtkinterx-0.1.3-py3-none-any.whl (7.6 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