All I can tell you is that the Tk syntax you want is:
Code:
<pathname for text widget> get 1.0 end
In your example perhaps $text is the pathname reference? If that's so, and you want to retrieve the contents of the text widget into a string variable, say, stringA, then:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.