Hi I have the following code
def create(self):
geo = StringVar()
city = ttk.Combobox(gui, textvariable=geo,state=\"readonly\")
city.config(values=se
this worked for me :
def create(self):
print(self.geo)
strgeo="\n".join(str(x) for x in self.geo)
print(strgeo)
city = ttk.Combobox(gui, textvariable=self.stringGeo, state="readonly",width=30)
city.config(values=strgeo)
city.pack()
city.bind("<>",self.selectedCity)
def selectedCity(self,event):
selected=self.stringGeo.get()