home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / tcl / 2165 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.2 KB  |  40 lines

  1. Newsgroups: comp.lang.tcl
  2. Path: sparky!uunet!s5!is1.is.morgan.com!is0!chetal
  3. From: chetal@is.morgan.com (Pradeep Chetal)
  4. Subject: How can I reduce the size of '.' window in the running application?
  5. Message-ID: <CHETAL.92Dec18170140@poundcake.is.morgan.com>
  6. Sender: news@is.morgan.com
  7. Nntp-Posting-Host: poundcake
  8. Organization: Information Services, Morgan Stanley, NYC
  9. Date: Fri, 18 Dec 1992 08:01:40 GMT
  10. Lines: 28
  11.  
  12.  
  13. I create a frame '.frame1' which takes a lot of space & 
  14.     pack append . .frame1 {}
  15. causes the application window to increase in size.
  16.  
  17. As a result of a button press, I would like to replace .frame1 BY .frame2 
  18. which is MUCH smaller in size. When I do a
  19.     destroy .frame1
  20.     pack append . .frame2 {}
  21. I want the application window to shrink to .frame2 size.
  22.  
  23. How can I do this? 
  24.  
  25. In addition, how do X resources added via 'option' mix with .Xdefaults added
  26. via xrdb?
  27.  
  28. Thanks,
  29.  
  30. /Pradeep
  31. --
  32. ----------------------------------------------------------------------------
  33. Pradeep Chetal        UUCP:    ...!uunet!is.morgan.com!chetal
  34. Morgan Stanley        Internet:     chetal@is.morgan.com
  35. 1633 Broadway,        Phone:        (212) 703-2220 (O)
  36. NY, NY 10019                (212) 703-2371 (FAX)
  37.             _______________    __o
  38.         _________________     -\<,
  39.                         ......O/ O
  40.