I have the following code for my program:
main = Tk()
text = Text(main).place(relx=0.5, rely=0.5, anchor=CENTER)
Button(main, text="SEND", command=_tosend).place(relx=0.3, rely=0.8, anchor=CENTER)
Button(main, text="BACK", command=lambda: next(_main, True, main)).place(relx=0.6, rely=0.8, anchor=CENTER)
main.mainloop()
The problem is, when I run this code, I cant type into the Text widget at all. Ive never used the Text widget before so I've probably done something massively wrong.
How can I make it so that I can enter text into the widget?