Esempio n. 1
0
def _submitText( clientId, submitCallback, text ):
    assert isFunc( submitCallback)
    assert isString( text )
    
    popCmdHandler( clientId )

    submitCallback( clientId, text )
Esempio n. 2
0
def finishCallback( clientId, session, abort = False ):

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

    session.close()

    popCmdHandler( clientId )
    popPrompt( clientId )
Esempio n. 3
0
def finishCallback(clientId, session, abort=False):

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

    session.close()

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