This is what I have tried #def func1_print(): #if cb_var2.insert(): #combobox.grid(row=2, column=0, pady=2,sticky="NW") #text=combobox1 #def func1_insert(): #if cb