Beispiel #1
0
def _submitText( clientId, submitCallback, text ):
    assert isFunc( submitCallback)
    assert isString( text )
    
    popCmdHandler( clientId )

    submitCallback( clientId, text )
Beispiel #2
0
def finishCallback( clientId, session, abort = False ):

    if ( abort ):
        session.rollback()
    else:
        session.commit()

    session.close()

    popCmdHandler( clientId )
    popPrompt( clientId )
Beispiel #3
0
def finishCallback(clientId, session, abort=False):

    if (abort):
        session.rollback()
    else:
        session.commit()

    session.close()

    popCmdHandler(clientId)
    popPrompt(clientId)
Beispiel #4
0
 def colorSelected(clientId, color):
     self.colors[clientId] = color
     popCmdHandler(clientId)
     popPrompt(clientId)
     selectionCallback(clientId)
Beispiel #5
0
def finishMenu(clientId, finishedCallback, value):
    popCmdHandler(clientId)
    finishedCallback(clientId, value)
Beispiel #6
0
 def colorSelected( clientId, color ):
     self.colors[ clientId ] = color
     popCmdHandler( clientId )
     popPrompt( clientId )
     selectionCallback( clientId )
Beispiel #7
0
def _finish( clientId, textEditor ):
    popCmdHandler( clientId )
    popPrompt( clientId )
    textEditor.submitCallback( clientId, textEditor.text )
Beispiel #8
0
def finishCallback(clientId, abort=False):
    popCmdHandler(clientId)
    popPrompt(clientId)
Beispiel #9
0
def _finish(clientId, textEditor):
    popCmdHandler(clientId)
    popPrompt(clientId)
    textEditor.submitCallback(clientId, textEditor.text)
Beispiel #10
0
def finishMenu( clientId, finishedCallback, value):
    popCmdHandler( clientId )
    finishedCallback( clientId, value )
Beispiel #11
0
def finishCallback(clientId, abort=False):
    popCmdHandler(clientId)
    popPrompt(clientId)