use Tk; my $mw = MainWindow->new(); $button1 = $mw->Button(-text => 'one')->place(-x=>'10', -y=>'10'); $button2 = $mw->Button(-text => 'two')->place(-x=>'15', -y=>'15'); $button3 = $mw->Button( -text => 'three', -command => sub { $button3->lower( $button2 ); }, )->place(-x=>'20', -y=>'20'); $mw->MainLoop;
In reply to Re: Help with Tk_place
by Anonymous Monk
in thread Help with Tk_place
by brettcarroll
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |