Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
ElSaico committed Jul 22, 2024
1 parent 50d9e41 commit a633be9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion myNotebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,10 @@ def __init__(self, master: ttk.Frame | None = None, **kw):
class ColoredButton(tk.Button):
"""Custom tk.Button class to fix some display issues."""

# DEPRECATED: Migrate to EntryMenu. Will remove in 6.0 or later.
def __init__(self, master: ttk.Frame | None = None, **kw):
warnings.warn('Migrate to ttk.Button. Will remove in 6.0 or later', DeprecationWarning, stacklevel=2)
tk.Button.__init__(self, master, **kw)
warnings.warn('Migrate to ttk.Button. Will be removed in 6.0 or later', DeprecationWarning, stacklevel=2)


class Checkbutton(ttk.Checkbutton):
Expand Down

0 comments on commit a633be9

Please sign in to comment.