For Programmers: Free Programming Magazines  


Home > Archive > PerlTk > January 2005 > [ANNOUNCE] Tk-JComboBox 1.0









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author [ANNOUNCE] Tk-JComboBox 1.0
Rob Seegel

2005-01-24, 3:57 am

A few moments ago, I uploaded a new version of JComboBox which should correct most of the "misbehaviors" I've seen reported on the mailing list, c.l.p.tk, or via email over the past year or so.

I've spent more than a little time verifying that the code passes the unit tests on a variey of platforms including Solaris 9, Tru64 4.2, Redhat ES 3, and Windows 2000/XP (using ActiveState 5.8.4/810).

Why you should upgrade:
- pod documentation
- extensive unit tests
- new autofind features and several other fixes
- working key bindings

Why you might be a little careful:
- some options have been deprecated
- a large portion of the code has been rewritten

If you already have your own modifications, back them up prior to upgrading.

As always, I appreciate any feedback. I hope the changes are useful to someone.

Rob

The uploaded file

Tk-JComboBox-1.0.tar.gz

has entered CPAN as

file: $CPAN/authors/id/R/RC/RCS/Tk-JComboBox-1.0.tar.gz
size: 40846 bytes
md5: 46052238eff0ccef3c1106abedef8654

No action is required on your part
Request entered by: RCS (Rob Seegel)
Request entered on: Mon, 24 Jan 2005 03:25:17 GMT
Request completed: Mon, 24 Jan 2005 03:26:16 GMT

-++**==--++**==--++**==--++**==--++**==--++**==--++**==
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

zentara

2005-01-24, 4:00 pm

On Mon, 24 Jan 2005 04:49:34 +0000 (UTC), Rob Seegel
<RobSeegel@comcast.net> wrote:

>A few moments ago, I uploaded a new version of JComboBox which should correct most of the "misbehaviors" I've seen reported on the mailing list, c.l.p.tk, or via email over the past year or so.
>
>I've spent more than a little time verifying that the code passes the unit tests on a variey of platforms including Solaris 9, Tru64 4.2, Redhat ES 3, and Windows 2000/XP (using ActiveState 5.8.4/810).


>As always, I appreciate any feedback. I hope the changes are useful to someone.


Hi,
I've noticed a few small typos, in the example program in
blib/man3/Tk::JComboBox::tutorial.3

my $jcb = $mw->JComboBox(
-choices => [
{ -name => 'Black', -value => 1},
{ -name => 'Blue', -value => 2},
{ -name => 'Green', -value => 3},
{ -name => 'Purple' -value => 4},
'Red',
{ -name => 'Yellow' -value => 5 }]
)->pack;


You forgot the commas after 'Purple' and 'Yellow', which
cause errors when the example program is executed.

Nice useful module BTW. :-)


--
I'm not really a human, but I play one on earth.
http://zentara.net/japh.html
Rob Seegel

2005-01-25, 3:57 am

zentara wrote:

> Hi,
> I've noticed a few small typos, in the example program in
> blib/man3/Tk::JComboBox::tutorial.3
>
> my $jcb = $mw->JComboBox(
> -choices => [
> { -name => 'Black', -value => 1},
> { -name => 'Blue', -value => 2},
> { -name => 'Green', -value => 3},
> { -name => 'Purple' -value => 4},
> 'Red',
> { -name => 'Yellow' -value => 5 }]
> )->pack;
>
>
> You forgot the commas after 'Purple' and 'Yellow', which
> cause errors when the example program is executed.
>


You're absolutely right -- once you posted, I realized that I'd
forgotten to take a final look at that tutorial AND the changes file.
I'm fixing them now, and will update the module as soon as I'm done.
Thanks for the catch!

Rob
Rob Seegel

2005-01-25, 3:57 am

Rob Seegel wrote:

>
> If you already have your own modifications, back them up prior to upgrading.
> As always, I appreciate any feedback. I hope the changes are useful to someone.
>


It didn't take long - I found a bug that I'll be patching in the next
day or so. When the -state option is set to disabled, the JComboBox
should not accept focus. That is, when using the tab key to traverse
through the widgets it should skip JComboBox, but that doesn't happen.

Rob

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com