@@ -8,19 +8,18 @@ class ThemedTk(tkinter.Tk, ThemedWidget):
88 def __init__ (
99 self ,
1010 # non-keyword-only args copied from tkinter.Tk
11- screenName : str | None = ...,
12- baseName : str | None = ...,
13- className : str = ...,
14- useTk : bool = ...,
15- sync : bool = ...,
16- use : str | None = ...,
17- * ,
18- theme : str | None = ...,
11+ screenName : str | None = None ,
12+ baseName : str | None = None ,
13+ className : str = "Tk" ,
14+ useTk : bool = True ,
15+ sync : bool = False ,
16+ use : str | None = None ,
17+ theme : str | None = None ,
1918 # fonts argument does nothing
20- toplevel : bool | None = ... ,
21- themebg : bool | None = ... ,
22- background : bool | None = ... , # old alias for themebg
23- gif_override : bool = ... ,
19+ toplevel : bool | None = None ,
20+ themebg : bool | None = None ,
21+ background : bool | None = None , # old alias for themebg
22+ gif_override : bool = False ,
2423 ) -> None : ...
2524 def set_theme (self , theme_name : str , toplevel : bool | None = None , themebg : bool | None = None ) -> None : ...
2625 # Keep this in sync with tkinter.Tk
0 commit comments