my $screenheight = $mw->screenheight; my $screenwidth = $mw->screenwidth; # Force it on the screen and to take a size if it # hasn't already $waitbox->update(); my $wbwidth = $waitbox->width(); my $wbheight = $waitbox->height(); my $x = ($screenwidth - $wbwidth) / 2; my $y = $screenheight - $wbheight; $waitbox->geometry("+$x+$y");
In reply to Re: Using Perl Tk Waitbox module
by archfool
in thread Using Perl Tk Waitbox module
by Holly3g
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |