MCPcopy Create free account
hub / github.com/Image-Py/imagepy / __init__

Method __init__

imagepy/ui/canvasframe.py:158–160  ·  view source on GitHub ↗
(self, img)

Source from the content-addressed store, hash-verified

156
157class ImgArtProvider(aui.AuiDefaultDockArt):
158 def __init__(self, img):
159 aui.AuiDefaultDockArt.__init__(self)
160 self.bitmap = wx.Bitmap(img, wx.BITMAP_TYPE_PNG)
161
162 def DrawBackground(self, dc, window, orient, rect):
163 aui.AuiDefaultDockArt.DrawBackground(self, dc, window, orient, rect)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected