Re: State in Button Widget

Slaven Rezic <[email protected]> 20 Jul 2007 02:05:34 +0200
Newsgroups gmane.comp.lang.perl.tk
Message-ID <[email protected]>
<[email protected]> writes:

>  Hello,
> 
> In perl/5.8.7 it seems now that state of a Button should be explicitly
> specified. Otherwise it gives uninitialized error.
> 
> I get the below errors quite often.
> Use of uninitialized value in string ne at
> /opt/perl_5.8.7/lib/Tk/Button.pm line 73.
> Use of uninitialized value in string ne at
> /opt/perl_5.8.7/lib/Tk/Button.pm line 73.
> 
> Did anyone else get similar errors with button widgets?
> 

The perl version is rather irrelevant. Please give us the Tk version:

        perl -MTk \99999

And a small (!) complete (!) script which reproduces the problem would
be nice.

-- 
Slaven Rezic - slaven <at> rezic <dot> de

    tkruler - Perl/Tk program for measuring screen distances
    http://ptktools.sourceforge.net/#tkruler
--++**==--++**==--++**==--++**==--++**==--++**==--++**==
ptk mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/ptk