Add types to tkinter.Canvas.scale() (#11369)

This commit is contained in:
Akuli
2024-02-17 07:10:14 +02:00
committed by GitHub
parent a48fb24a94
commit d5ff34e049

View File

@@ -1721,7 +1721,9 @@ class Canvas(Widget, XView, YView):
def tag_raise(self, __first: str | int, __second: str | int | None = ...) -> None: ...
def tkraise(self, __first: str | int, __second: str | int | None = ...) -> None: ... # type: ignore[override]
def lift(self, __first: str | int, __second: str | int | None = ...) -> None: ... # type: ignore[override]
def scale(self, *args) -> None: ...
def scale(
self, __tagOrId: str | int, __xOrigin: _ScreenUnits, __yOrigin: _ScreenUnits, __xScale: float, __yScale: float
) -> None: ...
def scan_mark(self, x, y) -> None: ...
def scan_dragto(self, x, y, gain: int = 10) -> None: ...
def select_adjust(self, tagOrId, index) -> None: ...