About Retrieving Method In Tkinter
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()metho
Solution 1:
There's nothing special you need to do. The text widget is just a python object, and the get
method is just a method. You can call that method on as many text widget objects as you want.
def retrieve_input():
data1 = text1.get("1.0", "end-1c")
data2 = text2.get("1.0", "end-1c")
data3 = text3.get("1.0", "end-1c")
...
Post a Comment for "About Retrieving Method In Tkinter"