示例#1
0
def setBufferAsInactive(optionVar,bufferName):
    tmp = OptionVarFactory(optionVar,'string')
    tmp.remove(bufferName) 
def setBufferAsInactive(optionVar,bufferName):
    tmp = OptionVarFactory(optionVar,'string')
    tmp.remove(bufferName) 
示例#3
0
def setBufferAsActive(optionVar,bufferName):
    tmp = OptionVarFactory(optionVar,'string')
    if '' in tmp.value:
        tmp.remove('')
    tmp.append(bufferName) 
def setBufferAsActive(optionVar,bufferName):
    tmp = OptionVarFactory(optionVar,'string')
    if '' in tmp.value:
        tmp.remove('')
    tmp.append(bufferName)