mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 16:27:08 +08:00
add types for tkinter focus methods (#4920)
This commit is contained in:
@@ -236,15 +236,15 @@ class Misc:
|
||||
def getint(self, s): ...
|
||||
def getdouble(self, s): ...
|
||||
def getboolean(self, s): ...
|
||||
def focus_set(self): ...
|
||||
focus: Any
|
||||
def focus_force(self): ...
|
||||
def focus_get(self): ...
|
||||
def focus_displayof(self): ...
|
||||
def focus_lastfor(self): ...
|
||||
def tk_focusFollowsMouse(self): ...
|
||||
def tk_focusNext(self): ...
|
||||
def tk_focusPrev(self): ...
|
||||
def focus_set(self) -> None: ...
|
||||
focus = focus_set
|
||||
def focus_force(self) -> None: ...
|
||||
def focus_get(self) -> Optional[Misc]: ...
|
||||
def focus_displayof(self) -> Optional[Misc]: ...
|
||||
def focus_lastfor(self) -> Optional[Misc]: ...
|
||||
def tk_focusFollowsMouse(self) -> None: ...
|
||||
def tk_focusNext(self) -> Optional[Misc]: ...
|
||||
def tk_focusPrev(self) -> Optional[Misc]: ...
|
||||
@overload
|
||||
def after(self, ms: int, func: None = ...) -> None: ...
|
||||
@overload
|
||||
|
||||
Reference in New Issue
Block a user