def _invalidate_rect(self, r):
     win = self._win
     s = win.GetScrollPosition()
     self._win.InvalidateRect(offset_rect_neg(r, s))
Пример #2
0
 def _win_adjust_bounds(self, bounds):
     return offset_rect_neg(bounds, self.scroll_offset)
Пример #3
0
 def invalidate_rect(self, rect):
     GScrollableView.invalidate_rect(
         self, offset_rect_neg(rect, self.scroll_offset))
Пример #4
0
 def _invalidate_rect(self, r):
     win = self._win
     s = self.scroll_offset
     self._win.InvalidateRect(offset_rect_neg(r, s))
Пример #5
0
 def _invalidate_rect(self, r):
     win = self._win
     s = win.GetScrollPosition()
     self._win.InvalidateRect(offset_rect_neg(r, s))
 def _win_adjust_bounds(self, bounds):
     return offset_rect_neg(bounds, self.scroll_offset)
 def _invalidate_rect(self, r):
     win = self._win
     s = self.scroll_offset
     self._win.InvalidateRect(offset_rect_neg(r, s))
Пример #8
0
 def invalidate_rect(self, rect):
     GScrollableView.invalidate_rect(self, offset_rect_neg(rect, self.scroll_offset))