Skip to content

Commit

Permalink
Merge pull request jwlodek#92 from ne-msft/patch-1
Browse files Browse the repository at this point in the history
Fixed small issue in popups example
  • Loading branch information
jwlodek authored Feb 15, 2021
2 parents b4938dd + 0fc295e commit 5f436db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class PopupExample:
color = py_cui.CYAN_ON_BLACK
elif new_color == "MAGENTA":
color = py_cui.MAGENTA_ON_BLACK
for key in self.master.widgets.keys():
for key in self.master.get_widgets().keys():
if isinstance(self.master.get_widgets()[key], py_cui.widgets.Button):
self.master.get_widgets()[key].set_color(color)

Expand Down Expand Up @@ -221,4 +221,4 @@ root.start()

### Other examples

Other examples are available in the `examples` directory in the repository on github. For a larger example of a project using `py_cui`, see [pyautogit](https://github.com/jwlodek/pyautogit).
Other examples are available in the `examples` directory in the repository on github. For a larger example of a project using `py_cui`, see [pyautogit](https://github.com/jwlodek/pyautogit).

0 comments on commit 5f436db

Please sign in to comment.