mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-24 21:01:52 +08:00
ttkthemes: allow constructing ThemedStyle with no arguments (#6046)
This commit is contained in:
@@ -5,7 +5,7 @@ from ._widget import ThemedWidget
|
||||
|
||||
class ThemedStyle(ttk.Style, ThemedWidget):
|
||||
def __init__(
|
||||
self, master: tkinter.Misc | None, *, theme: str | None = ..., gif_override: bool | None = ..., **kwargs
|
||||
self, master: tkinter.Misc | None = ..., *, theme: str | None = ..., gif_override: bool | None = ..., **kwargs
|
||||
) -> None: ...
|
||||
# theme_use() can't return None (differs from ttk.Style)
|
||||
def theme_use(self, theme_name: str | None = ...) -> str: ... # type: ignore
|
||||
|
||||
Reference in New Issue
Block a user