Keep It Simple, Stupid | |
PerlMonks |
Re^2: Tk DirSelect Buttonsby merrymonk (Hermit) |
on Apr 19, 2018 at 15:01 UTC ( [id://1213171]=note: print w/replies, xml ) | Need Help?? |
Thank you. I used WidgetDump and got I 'display' that showed the OK button was in a tree of dirselect->frame1->button and the Cancel button was in a tree dirselect->frame1->button1 I tried using the line to associate the sub OK_cb with the OK button. However, I got the error message Failed to AUTOLOAD 'Tk::DirSelect::frame1' at C:\radan-docs\radan-f\perlwork\programs\atest_x_select.pz line 14. pryrt suggestion has worked and let me get the selected directory but it would be good to know how to associate the sub OK_cb so that I can look at other things I may want to alter.
In Section
Seekers of Perl Wisdom
|
|