mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 05:04:44 +08:00
add types for tkinter focus methods (#4920)
This commit is contained in:
1 parent
2f876a3728
commit
599ce2969b
1 file changed
+9
-9
@@ -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