| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/ttkthemes-stubs/ |
Upload File : |
import tkinter
from _typeshed import Incomplete
from ._widget import ThemedWidget
class ThemedTk(tkinter.Tk, ThemedWidget):
def __init__(
self,
# non-keyword-only args copied from tkinter.Tk
screenName: str | None = ...,
baseName: str | None = ...,
className: str = ...,
useTk: bool = ...,
sync: bool = ...,
use: str | None = ...,
*,
theme: str | None = ...,
# fonts argument does nothing
toplevel: bool | None = ...,
themebg: bool | None = ...,
background: bool | None = ..., # old alias for themebg
gif_override: bool = ...,
) -> None: ...
def set_theme(self, theme_name, toplevel: bool | None = None, themebg: bool | None = None) -> None: ...
# TODO: currently no good way to say "use the same big list of kwargs as parent class but also add these"
def config(self, kw: Incomplete | None = None, **kwargs): ... # type: ignore[override]
def cget(self, k): ...
def configure(self, kw: Incomplete | None = None, **kwargs): ... # type: ignore[override]
def __getitem__(self, k): ...
def __setitem__(self, k, v) -> None: ...