Files @ 93e3a00b7cfc
Branch filter:

Location: light9/stubs/PIL/ImageTk.pyi - annotation

Drew Perttula
KC had a new DoubleVar bug where setting from 0 to 1 would result in 0.000
Ignore-this: 30e08a24aef112c79cde7c9b62d1e45a
# 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: ...