I have the following GUI and i would like to turn what i write into the "Entry" area in a variable so that I can use it for other functions.
top = Tk()
top.geometry("450x300")
Dog = Label(top, text = "Dog").place(x = 40, y = 70)
Owner = Label(top, text = "Owner ").place(x = 40, y = 100)
Dog_input_area = Entry(top, width = 30).place(x = 150, y = 70)
Owner_input_area = Entry(top, width = 30).place(x = 150, y = 100)
Submit = Button(top, text = "Submit").place(x = 40, y = 190)
top.mainloop()
I think I am missing something within the Submit variable, but I am not able to understand what.
I would also like to point out that if textvariable=input("Dog")
is inserted into the Button, I only have the option to insert data on the IDE, which is not really useful.
Thanks