in reply to Re: Perl/Tk widget coordinates, simple question
in thread Perl/Tk widget coordinates, simple question
has solved my problemmy @wg = ($w->geometry =~ /\+(\d+)\+(\d+)/); my @bg = ($button->geometry =~ /\+(\d+)\+(\d+)/); $wg[$_] += $bg[$_] for (0..@wg-1); $mw->geometry("+$wg[0]+$wg[1]");
|
|---|