#NEWLINE# def displayAndWait( self , cellType , inputPorts ) : #NEWLINE# #INDENT# ' displayAndWait(cellType: python type, iputPorts: tuple)\n        Send the message and wait for the cell to complete its movement\n        constructed to return it\n\n        Keyword arguments:\n        cellType   --- widget type, this is truely a python type\n        inputPorts --- a tuple of input data that cellType() will understand\n\n        ' #NEWLINE# e = self . createDisplayEvent ( cellType , inputPorts ) #NEWLINE# QtCore . QCoreApplication . processEvents ( ) #NEWLINE# spreadsheetWindow = spreadsheetController . findSpreadsheetWindow ( ) #NEWLINE# if ( spreadsheetWindow . echoMode == False ) : #NEWLINE# #INDENT# spreadsheetWindow . configShow ( show = True ) #NEWLINE# #UNINDENT# self . cellWidget = spreadsheetWindow . displayCellEvent ( e ) #NEWLINE# self . set_output ( 'Widget' , self . cellWidget ) #NEWLINE# return self . cellWidget