geometry does it:
$main->geometry ('500x500');
but I have to give a height as well. Can I change just the width?
Yes, by:
Update: supply answermy $height = $main->reqheight; # or $main->height $main->geometry ('500x' . $height);
In reply to Re: How to set main window size in Tk
by GrandFather
in thread How to set main window size in Tk
by GrandFather
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |