tkinter: Simplify wm_iconphoto() (#11508)

This commit is contained in:
Akuli
2024-02-29 13:45:45 +02:00
committed by GitHub
parent 675ab38ab7
commit 0ad004a776

View File

@@ -665,9 +665,7 @@ class Wm:
iconmask = wm_iconmask
def wm_iconname(self, newName: Incomplete | None = None) -> str: ...
iconname = wm_iconname
def wm_iconphoto(
self, default: bool, *args: Unpack[tuple[_PhotoImageLike | str, Unpack[tuple[_PhotoImageLike | str, ...]]]]
) -> None: ...
def wm_iconphoto(self, default: bool, image1: _PhotoImageLike | str, /, *args: _PhotoImageLike | str) -> None: ...
iconphoto = wm_iconphoto
def wm_iconposition(self, x: int | None = None, y: int | None = None) -> tuple[int, int] | None: ...
iconposition = wm_iconposition