Popcorn Dave has asked for the wisdom of the Perl Monks concerning the following question:
I've finished my interface and I've got two entry widgets on it. I'm perplexed why the -textvariable is not getting or replacing a value.
My code follows:
my $reg=$top->Entry(width=>30, -font=>12, -textvariable=>\$regex, )->pack();
My understanding from Mastering Perl/Tk was that it should be put in there and accessable as $regex. Right or wrong? Do I need to be doing something else to pass the information?
Many thanks to all for the help!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Question on Tk Entry
by graff (Chancellor) on Apr 22, 2002 at 04:14 UTC | |
by Popcorn Dave (Abbot) on Apr 22, 2002 at 04:33 UTC | |
|
Re: Question on Tk Entry
by Popcorn Dave (Abbot) on Apr 22, 2002 at 04:15 UTC | |
by grummerX (Pilgrim) on Apr 22, 2002 at 10:15 UTC | |
by graff (Chancellor) on Apr 22, 2002 at 04:32 UTC | |
by Popcorn Dave (Abbot) on Apr 22, 2002 at 04:35 UTC | |
|
Re: Question on Tk Entry
by {NULE} (Hermit) on Apr 22, 2002 at 16:57 UTC |