def _submitText( clientId, submitCallback, text ): assert isFunc( submitCallback) assert isString( text ) popCmdHandler( clientId ) submitCallback( clientId, text )
def finishCallback( clientId, session, abort = False ): if ( abort ): session.rollback() else: session.commit() session.close() popCmdHandler( clientId ) popPrompt( clientId )
def finishCallback(clientId, session, abort=False): if (abort): session.rollback() else: session.commit() session.close() popCmdHandler(clientId) popPrompt(clientId)
def colorSelected(clientId, color): self.colors[clientId] = color popCmdHandler(clientId) popPrompt(clientId) selectionCallback(clientId)
def finishMenu(clientId, finishedCallback, value): popCmdHandler(clientId) finishedCallback(clientId, value)
def colorSelected( clientId, color ): self.colors[ clientId ] = color popCmdHandler( clientId ) popPrompt( clientId ) selectionCallback( clientId )
def _finish( clientId, textEditor ): popCmdHandler( clientId ) popPrompt( clientId ) textEditor.submitCallback( clientId, textEditor.text )
def finishCallback(clientId, abort=False): popCmdHandler(clientId) popPrompt(clientId)
def _finish(clientId, textEditor): popCmdHandler(clientId) popPrompt(clientId) textEditor.submitCallback(clientId, textEditor.text)
def finishMenu( clientId, finishedCallback, value): popCmdHandler( clientId ) finishedCallback( clientId, value )