Nov-11-2021, 08:02 PM
Thanks in advance for all the help so far. I am now at the next layer of the onion. I am using this submit button:
submitButton=tk.Button(top,text='Submit',command=lambda: submitData(top)).grid(row=rw,column=2,pady=5,sticky=tk.W)Here is my submitData routine:
def submitData(top): for widget in top.children.values(): print(widget) top.quit()The output from this is:
Output:.!radiobutton
.!radiobutton2
.!radiobutton3
.!label
.!entry
.!label2
.!entry2
.!label3
.!entry3
.!radiobutton4
.!radiobutton5
.!combobox
.!label4
.!button
.!button2
How do I extract the values from these widgets? '.get()' does not work with these.