mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
add types to tkinter invoke methods (#5582)
This commit is contained in:
@@ -76,7 +76,7 @@ class Button(Widget):
|
||||
@overload
|
||||
def configure(self, cnf: str) -> Tuple[str, str, str, Any, Any]: ...
|
||||
config = configure
|
||||
def invoke(self): ...
|
||||
def invoke(self) -> Any: ...
|
||||
|
||||
class Checkbutton(Widget):
|
||||
def __init__(
|
||||
@@ -128,7 +128,7 @@ class Checkbutton(Widget):
|
||||
@overload
|
||||
def configure(self, cnf: str) -> Tuple[str, str, str, Any, Any]: ...
|
||||
config = configure
|
||||
def invoke(self): ...
|
||||
def invoke(self) -> Any: ...
|
||||
|
||||
class Entry(Widget, tkinter.Entry):
|
||||
def __init__(
|
||||
@@ -652,7 +652,7 @@ class Radiobutton(Widget):
|
||||
@overload
|
||||
def configure(self, cnf: str) -> Tuple[str, str, str, Any, Any]: ...
|
||||
config = configure
|
||||
def invoke(self): ...
|
||||
def invoke(self) -> Any: ...
|
||||
|
||||
class Scale(Widget, tkinter.Scale):
|
||||
def __init__(
|
||||
|
||||
Reference in New Issue
Block a user