> >> You aren't asking the right widgets for the info.  Simply add this 
> >> before the MainLoop:
> >> 
> >> Tkx::update('idletasks');
> >> Tkx::wm_geometry($mw, Tkx::winfo_reqwidth($subf) . "x" .
> >>             Tkx::winfo_reqheight($subf));
> >> 
> >> Jeff
> >> 
> > 
> > Ok, that works, almost.  Thanks!  What I would really like 
> is for the 
> > window to have no scrollbars when it is initially created.  
> Only if I 
> > shrink the window would I want the scrollbars.  Is there a 
> way to do 
> > that?
> 
> Pass -managed => 0 option to ScrolledWindow.
> 
> > I've never seen Tkx::update('idletasks'), where in the 
> documentation 
> > would I find that?
> 
> In the general Tk docs.
> 
> > Is there a difference between Tkx::winfo_reqwidth($subf) and 
> > Tkx::winfo('reqwidth', $subf)?  They both seem to work, is 
> this just 
> > "there's more than one way to do it"?
> 
> Yes, you can see some of this discussed in the perldoc of Tcl or Tkx.
> 
> Jeff
> 

my $sw = $mw->new_ScrolledWindow(-managed => 0); didn't seem to have any
affect on the window.

I give up!  Where are the "general Tk docs"?  I looked in
http://www.tkdocs.com/ and didn't see anything related to Tkx::update.
I tried http://www.tcl.tk/man/tcl8.5/TkCmd/contents.htm, but it isn't
there.  Tried many other places.

David

Reply via email to