Mercurial > code > home > repos > light9
diff stubs/PIL/ImageShow.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/ImageShow.pyi Wed Jun 05 23:14:49 2019 +0000 @@ -0,0 +1,36 @@ +# Stubs for PIL.ImageShow (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from typing import Any, Optional + +def register(viewer: Any, order: int = ...) -> None: ... +def show(image: Any, title: Optional[Any] = ..., **options: Any): ... + +class Viewer: + def show(self, image: Any, **options: Any): ... + format: Any = ... + def get_format(self, image: Any): ... + def get_command(self, file: Any, **options: Any) -> None: ... + def save_image(self, image: Any): ... + def show_image(self, image: Any, **options: Any): ... + def show_file(self, file: Any, **options: Any): ... + +class WindowsViewer(Viewer): + format: str = ... + def get_command(self, file: Any, **options: Any): ... + +class MacViewer(Viewer): + format: str = ... + def get_command(self, file: Any, **options: Any): ... + +def which(executable: Any): ... + +class UnixViewer(Viewer): + def show_file(self, file: Any, **options: Any): ... + +class DisplayViewer(UnixViewer): + def get_command_ex(self, file: Any, **options: Any): ... + +class XVViewer(UnixViewer): + def get_command_ex(self, file: Any, title: Optional[Any] = ..., **options: Any): ...