(self, row, col)
return 1 if self._dbcs_text[row-1][col] else 2
Get DBCS width of cell on active page.
Get DBCS width of cell on active page.
Get DBCS width of cell on active page .
def get_charwidth(self, row, col):
        """Get DBCS width of cell on active page."""
        if col == self._width:
            return 1
        if not self._dbcs_text[row-1][col-1]:
            return 0
        return 1 if self._dbcs_text[row-1][col] else 2
def get_charwidth ( self , row , col ) : if col == self . _width : return 1 if not self . _dbcs_text [ row - 1 ] [ col - 1 ] : return 0 return 1 if self . _dbcs_text [ row - 1 ] [ col ] else 2