f



getOpenFile does not work with multiple files!?

I'm trying to get a list of files with

$mw = new MainWindow; # first user interaction...

my $ifiles = $mw->getOpenFile(-multiple => 10);

This does not work.

XS_Tk__Callback_Call error:Failed to AUTOLOAD 'Tk::FBox::_get_select_Path' at ./tkscan2pdf.pl line 1076

Tk::Error: Failed to AUTOLOAD 'Tk::FBox::_get_select_Path' at ./tkscan2pdf.pl line 1076
 Carp::croak at /usr/share/perl/5.10/Carp.pm line 44
 Tk::Widget::__ANON__ at /usr/lib/perl5/Tk/Widget.pm line 347
 Tk::FBox::Done at /usr/lib/perl5/Tk/FBox.pm line 909
 Tk::FBox::VerifyFileName at /usr/lib/perl5/Tk/FBox.pm line 678
 Tk::FBox::ActivateEnt at /usr/lib/perl5/Tk/FBox.pm line 647
 Tk::FBox::OkCmd at /usr/lib/perl5/Tk/FBox.pm line 815
 Tk::Widget::Callback at /usr/lib/perl5/Tk/Widget.pm line 1149
 Tk::IconList::Invoke at /usr/lib/perl5/Tk/IconList.pm line 475
 Tk::IconList::Double1 at /usr/lib/perl5/Tk/IconList.pm line 579
 <Double-ButtonRelease-1>
 (command bound to event)

What's wrong?

TIA,
Oliver

0
Oliver
11/23/2009 1:10:19 PM
comp.lang.perl.tk 4721 articles. 0 followers. pharrendorf (19) is leader. Post Follow

1 Replies
1594 Views

Similar Articles

[PageSpeed] 47

Forget my last posting.

This is a bug in the Ubuntu package.
First documented for Ubuntu 8.04, still there with 9.04, besides a
fixed Debian package being available :-(

http://www.mail-archive.com/debian-bugs-closed@lists.debian.org/msg216263.html

Changed the typo in FBox.pm and now everything is working fine.

Oliver
0
Oliver
11/23/2009 1:25:29 PM
Reply: