more on python type hint
This commit is contained in:
parent
eb5f2c5648
commit
b9b8e3a5f1
32 changed files with 185 additions and 48 deletions
|
@ -147,7 +147,7 @@ def theme_change_menu(event: tk.Event):
|
|||
style_menu(event.widget)
|
||||
|
||||
|
||||
def style_menu(widget: ttk.Widget):
|
||||
def style_menu(widget: tk.Widget):
|
||||
style = ttk.Style()
|
||||
bg = style.lookup(".", "background")
|
||||
fg = style.lookup(".", "foreground")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue