(self, top, left, bottom, right)
Submit a rectangular screen section to interface (text coordinates).
Submit a rectangular screen section to interface (text coordinates).
Submit a rectangular screen section to interface ( text coordinates ) .
def _submit(self, top, left, bottom, right):
        """Submit a rectangular screen section to interface (text coordinates)."""
        if self._visible:
            text = [_row[left-1:right] for _row in self._dbcs_text[top-1:bottom]]
            attrs = [_row.attrs[left-1:right] for _row in self._rows[top-1:bottom]]
            x0, y0 = self.text_to_pixel_pos(top, left)
            x1, y1 = self.text_to_pixel_pos(bottom+1, right+1)
            self._queues.video.put(signals.Event(
                signals.VIDEO_UPDATE, (top, left, text, attrs, y0, x0, self._pixels[y0:y1, x0:x1])
            ))
def _submit ( self , top , left , bottom , right ) : if self . _visible : text = [ _row [ left - 1 : right ] for _row in self . _dbcs_text [ top - 1 : bottom ] ] attrs = [ _row . attrs [ left - 1 : right ] for _row in self . _rows [ top - 1 : bottom ] ] x0 , y0 = self . text_to_pixel_pos ( top , left ) x1 , y1 = self . text_to_pixel_pos ( bottom + 1 , right + 1 ) self . _queues . video . put ( signals . Event ( signals . VIDEO_UPDATE , ( top , left , text , attrs , y0 , x0 , self . _pixels [ y0 : y1 , x0 : x1 ] ) ) )