MCPcopy Index your code
hub / github.com/rawpython/remi / __init__

Method __init__

examples/pil_app.py:26–32  ·  view source on GitHub ↗
(self, filename=None, **kwargs)

Source from the content-addressed store, hash-verified

24
25class PILImageViewverWidget(gui.Image):
26 def __init__(self, filename=None, **kwargs):
27 self.app_instance = None
28 super(PILImageViewverWidget, self).__init__("/res:logo.png", **kwargs)
29 self.frame_index = 0
30 self._buf = None
31 if filename:
32 self.load(filename)
33
34 def load(self, file_path_name):
35 pil_image = PIL.Image.open(file_path_name)

Callers

nothing calls this directly

Calls 2

loadMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected