When I search for retrieving the input from textbox, most of them created a method retrieve_input()
and used that method inside the Button widget command. The retrieve_input()
method is specific for one textbox. If I have several textboxes and wants to receive the inputs from all of them, do I have to create each methods for individual textboxes? Is there a way to create a general method to receive the inputs from different textboxes? or do I have to create a separate class or modules (if so how to do it?)
one of the example that I saw was How to get the input from the Tkinter Text Box Widget?