Thank you so much for the reply. as a new user of perl, I am trying to understand the program you wrote.
I guess following code is to populate the value filled in from GUI into the table:
$mw->new_button(
-text => 'Populate',
-command => sub {
my( $r, $c ) = ( $t->cget('-rows') , $t->cget('-cols') );
for my $rr ( 0 .. $r ){
for my $cc ( 0 .. $c ){
$t->set("$rr,$cc", "yo $rr, $cc oy" );
}
}
return;
},
)->g_pack;
Can you give some comments on the code or give me some website that talk about this in detail?
Thank you so much!