Lines Matching refs:optionlist
403 def _selectoption(d, optionlist, idx): argument
404 if idx < 0 or idx >= len(optionlist):
407 option = optionlist[idx]
437 def GetArgv(optionlist=None, commandlist=None, addoldfile=1, addnewfile=1, addfolder=1, id=ARGV_ID): argument
450 if optionlist:
451 _setmenu(d.GetDialogItemAsControl(ARGV_OPTION_GROUP), optionlist)
452 _selectoption(d, optionlist, 0)
485 _selectoption(d, optionlist, idx)
490 if 0 <= idx < len(optionlist):
491 option = optionlist[idx]
798 optionlist = (('v', 'Verbose'), ('verbose', 'Verbose as long option'),
801 argv = GetArgv(optionlist=optionlist, commandlist=commandlist, addoldfile=0)