Re: Funny business with Perl/Tk 804.027-4, Entry and Optionmenuwidgets.
Wilbert Knol <[email protected]>
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <[email protected]> |
I made a hash of the version numbering. Apologies. Perl/Tk 804.027 caused me the probems and required the work-arounds mentioned. I installed it from a package. The package manager says: wk@asus:~$ dpkg --status perl-tk Package: perl-tk Status: install ok installed Priority: optional Section: perl Installed-Size: 9936 Maintainer: Michael C. Schultheiss <[email protected]> Architecture: i386 Version: 1:804.027-4 Replaces: libtk-png-perl Provides: libtk-perl, libtk-png-perl Depends: libc6 (>= 2.3.5-1), libjpeg62, libpng12-0 (>= 1.2.8rel), libx11-6, zlib1g (>= 1:1.2.1), perlapi-5.8.7, perl (>= 5.8.7-10) Conflicts: libtk-png-perl Description: Perl module providing the Tk graphics library. Perl/Tk (also known as pTk or ptk) is a collection of modules and code that attempts to wed the easily configured Tk 4 widget toolkit to the powerful lexigraphic, dynamic memory, I/O, and object-oriented capabilities of Perl 5. In other words, it is an interpreted scripting language for making widgets and programs with Graphical User Interfaces (GUI). . A good place to get started is by running the "widget" demo that's installed with this package. wk@asus:~$ > >Some comments on Perl/Tk 804.027-4, recently installed from Debian > >unstable. > > > >This version broke my code (which worked perfectly with Perl/Tk 800 - > >Debian Sarge package) in three places. > > Tk800 -> Tk804 is quite a major change. > > Tk800 has not been under active development for years, last > patch I have recorded is back in 2002. > > Tk804 is much closer to mainstream tk core (but is still slipping). > > >Using Perl/Tk 800.027, the Entry widget caused me problems: Sorry...that should have read '804.027'. <snip> > I don't know what the -4 suffix might mean. I suspect it is a package suffix. <snip> > Please clarify _EXACTLY_ what $Tk::VERSION was on version which > worked and version which doesn't. Version that worked: 800-025 Version that doesn't: 804-027 > If you really meant Tk800 then yes Tk804 it is incompatible in several > ways with it, but maintaining Tk800 diverged from core Tk was becoming > impossible. Fair enough. I wasn't aware of compatibility issues between 800 and 804 - the Entry widget doc reads the same - so I posted the story to provide a pointer for other users. It took me a bit of time to figure it out. Wilbert Knol -++**==--++**==--++**==--++**==--++**==--++**==--++**== This message was posted through the Stanford campus mailing list server. If you wish to unsubscribe from this mailing list, send the message body of "unsubscribe ptk" to [email protected]