How to update values to the listbox under Combobox in ttk Python33 How to update values to the listbox under Combobox in ttk Python33 tkinter tkinter

How to update values to the listbox under Combobox in ttk Python33


Answered my own question.

I Finally found an example that helped, and got it to work with the following code:

#update list upon drop downself.cbox = Combobox(self, width = 10, postcommand = self.updtcblist)def updtcblist(self):    list = self.getPortLst()    self.cbox['values'] = list

This works as desired.