Skip to content

Commit

Permalink
Updated ttk notes
Browse files Browse the repository at this point in the history
Referencing ttk styles for toolbars #231 & #577
  • Loading branch information
jarvisteach committed May 19, 2019
1 parent 3b60ac2 commit fc00390
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/mkdocs/docs/pythonTtk.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ To change the style for all widgets of a certain type, reconfigure these styles:
app.ttkStyle.configure("TLabel", foreground="green", background="blue")
```

### Extra Styles
Some widgets have their own extra styles you can change:
* `Toolbar.TFrame` - used for the toolbar
* `Toolbar.TLabel` - used for the pin button on the toolbar
* `Toolbar.TButton` - used for the button on the toolbar

### Root Style
All widgets inherit their style from the root style, known simply as `.`
If you want to change the style of all widgets, you can modify the root style.
Expand Down

0 comments on commit fc00390

Please sign in to comment.