for example:
#!/usr/local/bin/perl use Tk; my $mw = MainWindow->new(); $button = $mw->Button(-text => "hello", -activebackground => 'red', -command => \&printit)->pack(); MainLoop; sub printit { $button->configure(-text => "you pressed me"); }
Justin Eltoft
In reply to Re: Perl/TK Database
by Eradicatore
in thread Perl/TK Database
by kbradford
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |