Subject: | The -color option is not recognized by the Canvas grid item. |
Date: | Thu, 18 Jun 2009 22:10:36 -0400 |
To: | bug-Tk [...] rt.cpan.org |
From: | "Alison & Jack Langsdorf" <jackandalison [...] gmail.com> |
The -color option is not recognized by the Canvas grid item. The code
below gives the error, if I remove the -color option the error goes
away and the grid returns to default black.
#!/usr/bin/perl -w
use Tk 804;
$MW = MainWindow->new;
$c = $MW->Canvas(-scrollregion => [-200,-100,200,100],)->grid;
$c->createGrid(0,0,20,20,-color=>"red");
MainLoop;
Bad option `-color' at
/Library/Perl/5.8.6/darwin-thread-multi-2level/Tk.pm line 250.
System information:
perl v5.8.6 built for darwin-thread-multi-2level
Tk version 804 ( I think Tk-804.028_501)
Darwin new-host.home 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10
18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386
- Jack Langsdorf