Scale widget yelling warnings 
Author Message
 Scale widget yelling warnings

Hi all,

got a problem with the scale widget in Perl/Tk Release Tk402.004. It
constantly issues the error message

Use of inherited AUTOLOAD for non-method Tk::Scale::Activate() is
deprecated at /usr/lib/perl5/site_perl/auto/Tk/Scale/ClassInit.al line 28.

This used to work with previous releases, anybody got an idea what's
happening? Here is a piece of sample code:

#################################################
#!/usr/bin/perl -w

use Tk;

$top = MainWindow->new();

$red = $top->Scale(-from => 0, -to => 255,
                   -orient => "horizontal",
                   -label => "Adjust Red",
                   -command => \&upd_color);

$red->pack();

MainLoop;

sub upd_color {
$red->configure(-background => sprintf "#2222%02x", $red->get());

Quote:
}

######################################################################

Any help apprechiated!

--
Michael

--------------------------------------------------------------------------
  Michael Schilli            More Info:   http://www.*-*-*.com/
--------------------------------------------------------------------------



Sat, 07 Oct 2000 03:00:00 GMT  
 Scale widget yelling warnings


:got a problem with the scale widget in Perl/Tk Release Tk402.004. It
:constantly issues the error message
:
:Use of inherited AUTOLOAD for non-method Tk::Scale::Activate() is
:deprecated at /usr/lib/perl5/site_perl/auto/Tk/Scale/ClassInit.al line 28.
:
:This used to work with previous releases, anybody got an idea what's
:happening? Here is a piece of sample code:

I tried it with Tk800.004 and it seems to work just fine with no warning
now...

--

<*> O- <URL:http://www.teraform.com/%7Elvirden/> only planning.
Unless explicitly stated to the contrary, nothing in this posting
should be construed as representing my employer's opinions.



Sun, 08 Oct 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. unknown warning when setting scale length

2. Disabling a Scale widget

3. Scale widget's callback

4. Scale widget not listening to -length ??

5. Non-clamping Scale widgets.

6. Scale widget command option

7. MainLoop/Scale Widget?

8. Scale Widget Problem

9. Scale widget as scroll bar possible

10. Scale widget

11. Regarding Canvas and Scale widget

 

 
Powered by phpBB® Forum Software