def trace(*args):
     try:
         var.set(options.index(svar.get()))
     except ValueError:
         pass
Exemple #2
0
 def trace(*args):
     try:
         var.set(options.index(svar.get()))
     except ValueError:
         pass