Lines Matching refs:y
72 (x, y) = self.scroll.GetViewStart()
73 return (x * self.scroll_scale, y * self.scroll_scale)
76 (x, y) = self.scroll_start()
113 (x, y) = self.scroll_start()
118 def rect_from_ypixel(self, y): argument
119 y -= RootFrame.Y_OFFSET
120 rect = y / (RootFrame.RECT_HEIGHT + RootFrame.RECT_SPACE)
121 height = y % (RootFrame.RECT_HEIGHT + RootFrame.RECT_SPACE)
135 (x, y) = event.GetPositionTuple()
136 rect = self.rect_from_ypixel(y)
176 (x, y) = self.scroll.GetViewStart()
178 self.scroll.Scroll(x + 1, y)
180 self.scroll.Scroll(x - 1, y)
182 self.scroll.Scroll(x, y + 1)
184 self.scroll.Scroll(x, y - 1)