Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2852f04

Browse files
authored
Update README.md
1 parent da04f53 commit 2852f04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ style.theme_use('azure / azure-dark')
1919
## New style elements
2020
Azure theme has a style for every ttk widget, but there are some **new** widget styles, such as an accent button, toggle switch, and toggle button. You can apply these with the style option
2121

22-
If you need a highlighted button, use AccentButton:
22+
If you need a highlighted button, use `AccentButton`:
2323
```python
2424
button = ttk.Button(root, text='AccentButton', style='AccentButton', command=callback)
2525
```
2626
To create a ToggleButton you need a checkbutton, to which you can apply the `ToggleButton` style:
2727
```python
2828
togglebutton = ttk.Checkbutton(root, text='ToggleButton', style='ToggleButton', variable=var)
2929
```
30-
The use of switches is becoming more common these days, so this theme has a toggle switch style, that can be applied to checkbuttons:
30+
The use of switches is becoming more common these days, so this theme has a `Switch` style, that can be applied to checkbuttons:
3131
```python
3232
switch = ttk.Checkbutton(root, text='Switch', style='Switch', variable=var)
3333
```

0 commit comments

Comments
 (0)