Files @ b62c78f35380
Branch filter:

Location: light9/stubs/PIL/ImageTk.pyi

drewp@bigasterisk.com
bin/live vitejs runner
# Stubs for PIL.ImageTk (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

import Tkinter
from typing import Any, Optional

tkinter = Tkinter

class PhotoImage:
    tk: Any = ...
    def __init__(self, image: Optional[Any] = ..., size: Optional[Any] = ..., **kw: Any) -> None: ...
    def __del__(self) -> None: ...
    def width(self): ...
    def height(self): ...
    def paste(self, im: Any, box: Optional[Any] = ...) -> None: ...

class BitmapImage:
    def __init__(self, image: Optional[Any] = ..., **kw: Any) -> None: ...
    def __del__(self) -> None: ...
    def width(self): ...
    def height(self): ...

def getimage(photo: Any) -> None: ...