f



Re: Funny business with Perl/Tk 804.027-4, Entry and Optionmenuwidgets. #2

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 <schultmc@debian.org>
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 majordomo@lists.stanford.edu

0
Wilbert
3/11/2006 1:08:43 PM
comp.lang.perl.tk 4721 articles. 0 followers. pharrendorf (19) is leader. Post Follow

0 Replies
533 Views

Similar Articles

[PageSpeed] 49

Reply:

Similar Artilces:

Re: Funny business with Perl/Tk 804.027-4, Entry and Optionmenuwidgets.
W Knol <w.knol@niwa.co.nz> writes: >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: There is no such thing as Tk800.027 !? There...

Re: Funny business with Perl/Tk 804.027-4, Entry and Optionmenuwidgets.
W Knol <w.knol@niwa.co.nz> writes: >I made a hash of the version numbering. Apologies. > No problem. >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 I re-arranged the your/my quoted e-mail bellow as a summary. >Perl/Tk 804.027 caused me the probems and required the work-arounds mentioned. >Version that worked: 800-025 >Version that doesn't: 804-027 > &g...

Funny business with Perl/Tk 804.027-4, Entry and Optionmenu widgets.
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. Using Perl/Tk 800.027, the Entry widget caused me problems: 1. The insert/delete mode byte passed to the '-validatecommand => key' callback is '8' resp. '7'. The docs claim it should be 1 resp. 0. The obvious work-around is to test for 1|8 resp. 0|7. 2. My key validation callback changes keystrokes to upper case as the user types them. It does this through the...

Re: What's new in Tk 8.4 for Perl/Tk
Revised: http://www.lehigh.edu/~sol0/ptk/whats-new.html -++**==--++**==--++**==--++**==--++**==--++**==--++**== 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 majordomo@lists.stanford.edu ...

Linux Perl-TK -> Win32 Perl-Tk
I've got an app that I wrote in Perl-Tk for Linux (Redhat) that I would like to run on my Win32 laptop. I am not interested in dual-booting this laptop but would like to get the app up an running. I'm a perl-Tk hack at best. What is the best/easiest way to port the application? thanks, Mike On Tue, 21 Dec 2004 03:01:21 +0000, Michael Seningen wrote: > I've got an app that I wrote in Perl-Tk for Linux (Redhat) that I would > like to run on my Win32 laptop. > > I am not interested in dual-booting this laptop but would like to get > the ap...

Re: Problem: Tk 8.4 on Perl 5.8 tries to set -foreground on mainWindow #2
Thanks. It was actually an interaction between the debugger back-end used in Komodo, and Perl:Tk. The debugger was not preserving $@ in the DB::sub routine, which is called before a sub is called, and before it returns. The Perl-Tk subs emulate structured exception handling like so: full of code like so: Tk::catch { $cw->Tk::cget('-background') }; my (@bg) = $@ ? ('PASSIVE') : ('SELF'); But the debugger was stomping on $@ between the first line and the second. Fix was to localize it. - Eric On Tue, Jul 27, 2004 at 06:21:29PM +0000, ...

RE: Bus Error(core dumped) when using Devel-ptkdb-1.1091 with new perl 587 and Tk-804-027
This is a multi-part message in MIME format. ------_=_NextPart_001_01C5E313.85576A8B Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I have investigated this a little more and have found that the raise() call is the culprit. A simple script using this method will cause a Bus Error(core dumped).=20 Maybe there is a problem with my steps. Environment: setenv ORACLE_HOME /programs/ias_oracle/8.1.6 setenv ORACLE_SID thesid setenv ORACLE_USERID scott/tiger@${ORACLE_SID} setenv ORACLE_JRE_PATH ${ORACLE_HOME}/jre/1.1.8/lib/spa...

Re: Small pb to build Tk beta10 with debian's dh-make-perl (was: CPAN Upload: N/NI/NI-S/Tk-804.025_beta10.patch.gz)
Dominique Dumont <domi@komarr.grenoble.hp.com> writes: >Hello > >Nick Ing-Simmons <nick@ing-simmons.net> writes: > >> Pause <cpan-testers@perl.org> writes: >>>The uploaded file >>> >>> Tk-804.025_beta10.patch.gz >>> >>>has entered CPAN as >> >> And the tar ball is on its way. > >There's small but annoying permission problem with some files: > >The tar ball contains: >-r--r--r-- nick/users 4977 2003-12-10 10:37:05 Tk-804.025_beta10/pTk/tk.t > >After a p...

Re: the better Perl/Tk book? (Re: Menu Creation) #2
At 06:47 PM 8/21/2003, Brian Wisti wrote: >Here's a related question: do the list folk consider "Mastering Perl/Tk" to be a good all-around tutorial/reference book, or is "Learning Perl/Tk" still the main tutorial choice? IMO, MP/Tk should be considered a second edition of LP/Tk. MP/Tk is the authoritative tutorial and reference book. Marc -++**==--++**==--++**==--++**==--++**==--++**==--++**== 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 "unsu...

Re: the better Perl/Tk book? (Re: Menu Creation) #4
Hi Steve (and everyone else), Thanks for all the information. I went ahead and got myself a copy of MPTK today, and it looks like a good purchase! - Brian Wisti -- brian at coolnamehere dot com http://coolnamehere.com -++**==--++**==--++**==--++**==--++**==--++**==--++**== 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 majordomo@lists.stanford.edu ...

FAQ 1.4 What are Perl 4, Perl 5, or Perl 6? #2 449313
This is an excerpt from the latest version perlfaq1.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . -------------------------------------------------------------------- 1.4: What are Perl 4, Perl 5, or Perl 6? (contributed by brian d foy) In short, Perl 4 is the past, Perl 5 is the present, and Perl 6 is the future. The number after perl (i.e. the 5 after P...

FAQ 1.4 What are Perl 4, Perl 5, or Perl 6? #2 1202592
This is an excerpt from the latest version perlfaq1.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . -------------------------------------------------------------------- 1.4: What are Perl 4, Perl 5, or Perl 6? (contributed by brian d foy) In short, Pelr 4 is the past, Perl 5 is the present, and Perl 6 is the future. The number after perl (i.e. the 5 after Perl 5) is the m...

Re: Tcl/Tk to Perl/TK Translation Problem
Philippe de Rochambeau <philippe@wwphi.net> wrote: > Hello, > > I am having problems translating the following tcl/tk code to perl/tk: > > ============ tcl code ============ > label .controls.sizel -text "Size:" > > grid .controls.quall .controls.quallo .controls.qual .controls.qualhi > -sticky ew > grid .controls.sizel .controls.sizesm .controls.size .controls.sizelg > -sticky ew > grid .controls.colorl .controls.color -sticky ew > grid configure .controls.color -columnspan 3 > grid configure .controls.quall .control...

Re[2]: Perl/Tk Antialiasing
>>Is there any way to use antialiased fonts with Tk? nisn> The "new" Tk804 will have support for -lXft on UNIX. nisn> (I have no idea how you would do it in Windows.) When I asked this on ActiveTCL list I've received following helpful answer: ==============quoting================= > Could you please comment on whether Tcl/Tk support antialiased fonts? > In core? in modules? On Windows and Mac, Tcl/Tk already supports AA fonts, as configured by your OS (for Windows in particular, this is done in the Display Properties dialog). For Unix, this is s...

Web resources about - Re: Funny business with Perl/Tk 804.027-4, Entry and Optionmenuwidgets. #2 - comp.lang.perl.tk

Resources last updated: 2/6/2016 1:35:43 AM