-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
documents examples black isort ruff and small tweaks
- Loading branch information
1 parent
9aac91d
commit 152851a
Showing
6 changed files
with
72 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
"""An example for style""" | ||
from tktermwidget import POWERSHELL, Config | ||
|
||
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
"""An exmaple for style""" | ||
from tktermwidget import POWERSHELL, Config | ||
|
||
styleconfig = Config(usetheme=True, basedon=POWERSHELL) | ||
# 如果usetheme启用的话,窗口会使用sv_ttk主题 | ||
# basedon意义是在基于“basedon”得到的主题上创建你自己的主题 | ||
styleconfig.mainloop() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters