![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re: Perl Tk & passing directoriesby Rich36 (Chaplain) |
on Aug 13, 2002 at 16:00 UTC ( #189842=note: print w/replies, xml ) | Need Help?? |
You will need to do two things. First, capture the return value of $fs->Show into a variable (i.e. my $dir = $fs->Show;. Then, use associate that variable with the entry widget. The Entry widget has a property called "-textvariable". By setting that to the variable that captures the user's input from the File Select (-textvariable => \$dir), the value of the Entry widget will reflect any changes in that variable. «Rich36»
In Section
Seekers of Perl Wisdom
|
|