def go(*args):
index1=values.index(Combobox1.get())
return index1
Combobox1.blind("<<ComboboxSelected>>", go)
这是在用combobox时的部分代码,我该怎么做,才能拿到回调函数返回的下标值index1,谢谢各位大佬

index1=values.index(Combobox1.get())
return index1
Combobox1.blind("<<ComboboxSelected>>", go)
这是在用combobox时的部分代码,我该怎么做,才能拿到回调函数返回的下标值index1,谢谢各位大佬
