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, rect): GScrollableView.invalidate_rect( self, offset_rect_neg(rect, self.scroll_offset))
def _invalidate_rect(self, r): win = self._win s = self.scroll_offset self._win.InvalidateRect(offset_rect_neg(r, s))
def invalidate_rect(self, rect): GScrollableView.invalidate_rect(self, offset_rect_neg(rect, self.scroll_offset))