mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
committed by
Jelle Zijlstra
parent
94a1b09d1d
commit
2d3edbd348
@@ -1,4 +1,5 @@
|
||||
from typing import Any
|
||||
from types import TracebackType
|
||||
from typing import Any, Optional, Dict, Callable, Type
|
||||
from tkinter.constants import * # noqa: F403
|
||||
|
||||
TclError = ... # type: Any
|
||||
@@ -275,15 +276,16 @@ class Wm:
|
||||
withdraw = ... # type: Any
|
||||
|
||||
class Tk(Misc, Wm):
|
||||
master = ... # type: Any
|
||||
children = ... # type: Any
|
||||
tk = ... # type: Any
|
||||
def __init__(self, screenName=None, baseName=None, className: str = ..., useTk=1, sync=0, use=None) -> None: ...
|
||||
def loadtk(self): ...
|
||||
def destroy(self): ...
|
||||
def readprofile(self, baseName, className): ...
|
||||
def report_callback_exception(self, exc, val, tb): ...
|
||||
def __getattr__(self, attr): ...
|
||||
master: Optional[Any]
|
||||
children: Dict[str, Any]
|
||||
tk: Any
|
||||
def __init__(self, screenName: Optional[str] = ..., baseName: Optional[str] = ..., className: str = ..., useTk: bool = ...,
|
||||
sync: bool = ..., use: Optional[str] = ...) -> None: ...
|
||||
def loadtk(self) -> None: ...
|
||||
def destroy(self) -> None: ...
|
||||
def readprofile(self, baseName: str, className: str) -> None: ...
|
||||
report_callback_exception: Callable[[Type[BaseException], BaseException, TracebackType], Any]
|
||||
def __getattr__(self, attr: str) -> Any: ...
|
||||
|
||||
def Tcl(screenName=None, baseName=None, className: str = ..., useTk=0): ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user