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

Method mouse_move

imagepy/menus/Image/Stack/orthogonal_plg.py:102–110  ·  view source on GitHub ↗
(self, ips, x, y, btn, **key)

Source from the content-addressed store, hash-verified

100 pass
101
102 def mouse_move(self, ips, x, y, btn, **key):
103 if btn==1:
104 img1, img2 = self.getimgs(ips.imgs, x, y)
105 self.ips1.set_imgs([img1])
106 self.ips2.set_imgs([img2])
107 self.ips1.update()
108 self.ips2.update()
109 ips.update()
110 ips.mark.set_xy(x, y)
111
112 def mouse_wheel(self, ips, x, y, d, **key):
113 pass

Callers

nothing calls this directly

Calls 4

getimgsMethod · 0.95
set_imgsMethod · 0.80
set_xyMethod · 0.80
updateMethod · 0.45

Tested by

no test coverage detected