(self, top, left, bottom, right)
Clear the text under the rect and submit to interface.
Clear the text under the rect and submit to interface.
Clear the text under the rect and submit to interface .
def _update_pixels(self, top, left, bottom, right):
        """Clear the text under the rect and submit to interface."""
        row0, col0, row1, col1 = self.pixel_to_text_area(left, top, right, bottom)
        # clear text area
        # we can't see or query the attribute in graphics mode - might as well set to zero
        self._clear_text_area(
            row0, col0, row1, col1, 0, adjust_end=False, clear_wrap=False
        )
        rect = self._pixels[top:bottom+1, left:right+1]
        self._submit(row0, col0, row1, col1)
def _update_pixels ( self , top , left , bottom , right ) : row0 , col0 , row1 , col1 = self . pixel_to_text_area ( left , top , right , bottom ) # clear text area # we can't see or query the attribute in graphics mode - might as well set to zero self . _clear_text_area ( row0 , col0 , row1 , col1 , 0 , adjust_end = False , clear_wrap = False ) rect = self . _pixels [ top : bottom + 1 , left : right + 1 ] self . _submit ( row0 , col0 , row1 , col1 )