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

Method on_size

imagepy/ui/plotwindow.py:32–34  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

30 self.buffer = wx.Bitmap(self.width, self.height)
31
32 def on_size(self, event):
33 self.init_buf()
34 self.draw()
35
36 def on_paint(self, event):
37 wx.BufferedPaintDC(self, self.buffer)

Callers

nothing calls this directly

Calls 2

init_bufMethod · 0.95
drawMethod · 0.95

Tested by

no test coverage detected