-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgraded to use argparse instead of getopt #204
Allows optional parameters - used for ttk
- Loading branch information
1 parent
ae42985
commit c296d2e
Showing
5 changed files
with
77 additions
and
57 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,29 @@ | ||
#ttk | ||
|
||
appJar includes experimental support for *ttk*, a tk themed widget set. | ||
This is very **BETA.*, and most stuff will break! | ||
|
||
## Setup | ||
--- | ||
|
||
* `.usettk()` | ||
Calling this at the start of your program will tell it to use ttk widgets. | ||
|
||
* `.setTtkTheme(theme)` | ||
This allows you to choose which theme to use. | ||
|
||
## Command Line Arguments | ||
--- | ||
|
||
It's possible to switch on ttk theming from the [command line](/pythonCommandLine). | ||
Simply use the `--ttk` flag, with an optional theme name: | ||
|
||
```sh | ||
python3 themes.py --ttk # turn on ttk widgets | ||
``` | ||
|
||
It's also possible to set the file name to log to: | ||
|
||
```sh | ||
python3 themes.py --ttk aqua # turn on ttk with the aqua theme | ||
``` |
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