cormanaz has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to write a button callback that makes use of the text. What is the proper object reference I use to get the text in the widget and assign it to a variable? I have tried variations of $dir = $_text_dirname->{'text'} to no avail. Komodo debugger says there us a key called _TkValue_ with the value .text but I have been unable to get the actual text from this.
TIA.....Steve
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tk text widget reference
by rinceWind (Monsignor) on Nov 26, 2004 at 16:55 UTC | |
|
Re: Tk text widget reference
by mawe (Hermit) on Nov 26, 2004 at 20:17 UTC | |
|
Re: Tk text widget reference
by zentara (Cardinal) on Nov 27, 2004 at 13:52 UTC |