Re: Scrolling a window
[email protected] (Jeff Hobbs)
| Newsgroups | perl.tcltk |
|---|---|
| Message-ID | <[email protected]> |
On 02/03/2010 3:39 PM, Swingle David-QWHM86 wrote: > Another related question: how do I get the initial size to be just > large enough so that there are not scroll bars needed? So, for the > sample in the last post, how would I get it so the window is initially > large enough to show all the (400) buttons? winfo reqwidth/height on the frame once populated and after an update idletasks may give you the right size. Make sure you check for reasonable maximums though. Jeff