【文件属性】:
文件名称:Izzy-Themes-TTK:Tkinter TTK的现代主题集合
文件大小:737KB
文件格式:ZIP
更新时间:2021-03-22 09:46:46
Python
Izzy-Themes-TTK(正在进行中)
Tkinter TTK的现代主题集合,仅使用内置标准主题(“蛤”,“ alt”,“经典”,“默认”)构建。
基本用法
from izzythemes import Style , ttk
style = Style ()
style . theme_use ( 'flatly' )
使用ttk将样式化的小部件添加到您的窗口中。
使用style参数设置其他可用颜色。
root = style . master
# primary colors
ttk . Label ( root , text = 'Hello world' ). pack ()
# other colors
ttk . Label ( root , text = 'Hello world' , style = 'danger.TLabel' ). pack ()
应用样
【文件预览】:
Izzy-Themes-TTK-master
----demo.py(6KB)
----izzythemes.py(10KB)
----.idea()
--------Izzy-Themes.iml(352B)
--------misc.xml(199B)
--------vcs.xml(180B)
--------modules.xml(274B)
--------.gitignore(244B)
--------inspectionProfiles()
----development()
--------element_options.txt(7KB)
--------test.py(6KB)
--------superflat.py(27KB)
----examples()
--------dark_themes.png(218KB)
--------light_themes.png(523KB)
----.gitignore(6B)
----README.md(1KB)
----theme.py(44KB)