mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-24 03:51:52 +08:00
Improve _tkinter (#6908)
This commit is contained in:
@@ -610,44 +610,38 @@ class Tk(Misc, Wm):
|
||||
@overload
|
||||
def configure(self, cnf: str) -> tuple[str, str, str, Any, Any]: ...
|
||||
config = configure
|
||||
def loadtk(self) -> None: ... # differs from _tkinter.TkappType.loadtk
|
||||
def destroy(self) -> None: ...
|
||||
def readprofile(self, baseName: str, className: str) -> None: ...
|
||||
report_callback_exception: _ExceptionReportingCallback
|
||||
# Tk has __getattr__ so that tk_instance.foo falls back to tk_instance.tk.foo
|
||||
# Please keep in sync with _tkinter.TkappType
|
||||
call: Callable[..., Any]
|
||||
def eval(self, __code: str) -> str: ...
|
||||
adderrorinfo: Any
|
||||
createcommand: Any
|
||||
createfilehandler: Any
|
||||
createtimerhandler: Any
|
||||
deletecommand: Any
|
||||
deletefilehandler: Any
|
||||
dooneevent: Any
|
||||
evalfile: Any
|
||||
exprboolean: Any
|
||||
exprdouble: Any
|
||||
exprlong: Any
|
||||
exprstring: Any
|
||||
getboolean: Any
|
||||
getdouble: Any
|
||||
getint: Any
|
||||
getvar: Any
|
||||
globalgetvar: Any
|
||||
globalsetvar: Any
|
||||
globalunsetvar: Any
|
||||
interpaddr: Any
|
||||
mainloop: Any
|
||||
quit: Any
|
||||
record: Any
|
||||
setvar: Any
|
||||
# Please keep in sync with _tkinter.TkappType.
|
||||
# Some methods are intentionally missing because they are inherited from Misc instead.
|
||||
def adderrorinfo(self, __msg): ...
|
||||
def call(self, __command: Any, *args: Any) -> Any: ...
|
||||
def createcommand(self, __name, __func): ...
|
||||
if sys.platform != "win32":
|
||||
def createfilehandler(self, __file, __mask, __func): ...
|
||||
def deletefilehandler(self, __file): ...
|
||||
def createtimerhandler(self, __milliseconds, __func): ...
|
||||
def dooneevent(self, __flags: int = ...): ...
|
||||
def eval(self, __script: str) -> str: ...
|
||||
def evalfile(self, __fileName): ...
|
||||
def exprboolean(self, __s): ...
|
||||
def exprdouble(self, __s): ...
|
||||
def exprlong(self, __s): ...
|
||||
def exprstring(self, __s): ...
|
||||
def globalgetvar(self, *args, **kwargs): ...
|
||||
def globalsetvar(self, *args, **kwargs): ...
|
||||
def globalunsetvar(self, *args, **kwargs): ...
|
||||
def interpaddr(self): ...
|
||||
def loadtk(self) -> None: ...
|
||||
def record(self, __script): ...
|
||||
if sys.version_info < (3, 11):
|
||||
split: Any
|
||||
splitlist: Any
|
||||
unsetvar: Any
|
||||
wantobjects: Any
|
||||
willdispatch: Any
|
||||
def split(self, __arg): ...
|
||||
def splitlist(self, __arg): ...
|
||||
def unsetvar(self, *args, **kwargs): ...
|
||||
def wantobjects(self, *args, **kwargs): ...
|
||||
def willdispatch(self): ...
|
||||
|
||||
def Tcl(screenName: Any | None = ..., baseName: Any | None = ..., className: str = ..., useTk: bool = ...): ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user