怎么才能得到程式里面的的程序的返回值

需要得到这个程式的返回值,大神请帮忙

def Combobox_show(dtname,t,x,y,ff):
    tk.Label(text=t, bord=2).place(x=x, y=y)
    cv = tk.StringVar()
    com = ttk.Combobox(textvariable=cv,state='readonly')
    com["value"] = dtname
    com.place(x=x,y=y+20,width=80)
    com.current(0)
    # 绑定事件
    def func(event):
        ff= cv.get()#我想得到他选中的值
    com.bind("<<ComboboxSelected>>", func) 
        return ff
getname=''
getname=Combobox_show(dtname,'员工工号姓名',150,30,getname)

我想最后得到这个ff这个 返回值