in reply to Re: a perl tkx GUI
in thread a perl tkx GUI

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!

Replies are listed 'Best First'.
Re^3: a perl tkx GUI
by Anonymous Monk on May 29, 2013 at 04:13 UTC

    Can you give some comments on the code or give me some website that talk about this in detail? Thank you so much!

    About what exactly , can you be specific?

    I linked the tkx/tk docs and tutorials (which link other tutorials) ... Have you read perlintro?

      I know the basics of perl such as I/O, regular expression, etc. I use perl frequently for file manipulation, calculation, SO I don't know how to make a GUI and don't know how to use all those packages such as table. Could you give me some websites that tells about how to create table, refer to a table, and how to grabbed data typed through GUI? and/or maybe you can give a more detailed comments considering the situation above? Thank you again.