diff stubs/PIL/ImageTk.pyi @ 1947:3b2255e3576d

big stubgen run for PIL, moviepy, rx Ignore-this: 349c755d8d70fdd1ff5711bde41f1dcb
author Drew Perttula <drewp@bigasterisk.com>
date Wed, 05 Jun 2019 23:14:49 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/stubs/PIL/ImageTk.pyi	Wed Jun 05 23:14:49 2019 +0000
@@ -0,0 +1,24 @@
+# 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: ...