What's Changed
Extension
styles by @littlewhitecloud in #45
Styles
tkterminalwidget
also have some styles to use such as Powershell
Command
:
But also, you can create your custom style by using
from tktermwidget import Config, POWERSHELL
styleconfig = Config(usetheme=True, basedon=POWERSHELL)
# if usetheme enable, the window will use sv_ttk theme
# basedon mean you can create your style based on the "basedon" style
styleconfig.mainloop()
After saving it, you can write down this to use the custom theme:
from tkinterwidget import Terminal, CUSTOM
example = Terminal(window, style=CUSTOM) # your custom theme
example.mainloop()
Or use a built in theme:
from tkinterwidget import Terminal, POWERSHELL # use powershell for an example
example = Terminal(window, style=POWERSHELL)
example.mainloop()
Full Changelog: v0.0.4...style