(self, sheet)
goto the specified sheet object
goto the specified sheet object
goto the specified sheet object
def goto_sheet(self, sheet):
        '''goto the specified sheet object
        '''
        if self._current_sheet is not None and (self._current_sheet._rowid == -1 or self._current_sheet.dirty):
            if self._current_sheet not in self._dirty_sheets:
                self._dirty_sheets.append(self._current_sheet)

        self._current_sheet = sheet
def goto_sheet ( self , sheet ) : if self . _current_sheet is not None and ( self . _current_sheet . _rowid == - 1 or self . _current_sheet . dirty ) : if self . _current_sheet not in self . _dirty_sheets : self . _dirty_sheets . append ( self . _current_sheet ) self . _current_sheet = sheet