pygui: simplified a couple of the other widget constructors
This commit is contained in:
parent
0dcfcbf4ea
commit
4eaecd6a7b
4 changed files with 23 additions and 30 deletions
|
@ -13,8 +13,8 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
class StatusBar(ttk.Frame):
|
||||
def __init__(self, master: tk.Widget, app: "Application", **kwargs):
|
||||
super().__init__(master, **kwargs)
|
||||
def __init__(self, master: tk.Widget, app: "Application"):
|
||||
super().__init__(master)
|
||||
self.app = app
|
||||
self.status = None
|
||||
self.statusvar = tk.StringVar()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue