home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / tcl / 1796 < prev    next >
Encoding:
Text File  |  1992-11-11  |  2.3 KB  |  72 lines

  1. Newsgroups: comp.lang.tcl
  2. Path: sparky!uunet!eco.twg.com!twg.com!news
  3. From: "David Herron" <david@twg.com>
  4. Subject: Re:  new user questions
  5. Message-ID: <1992Nov11.180209.1032@twg.com>
  6. Sensitivity: Personal
  7. Encoding:  52 TEXT , 4 TEXT 
  8. Sender: news@twg.com (USENET News System)
  9. Conversion: Prohibited
  10. Organization: The Wollongong Group, Inc., Palo Alto, CA
  11. Conversion-With-Loss: Prohibited
  12. Date: Wed, 11 Nov 1992 18:05:41 GMT
  13. Lines: 57
  14.  
  15. > Q. 1
  16. .
  17. > I can get the listbox and the buttons to show up correctly, but not the
  18. > bottom frame which contains the label and extry widget.  The bottom frame is
  19. > drawn between the left and right frames.
  20.  
  21.     frame ...lb_and_buttons
  22.     frame ...label_and_text
  23.     pack append ... \
  24.         ...lb_and_buttons {top fill expand} \
  25.         ...label_and_test {top fillx}
  26.  
  27.     listbox ...lb_and_buttons.list
  28.     frame   ...lb_and_buttons.buttons
  29.     pack append ...lb_and_buttons \
  30.         ...lb_and_buttons.list {left fill expand} \
  31.         ...lb_and_buttons.buttons {left filly}
  32.  
  33.     label ...label_and_text.label
  34.     entry ...label_and_text.text
  35.     pack append ...label_and_text \
  36.         ...label_and_text.label {left} \
  37.         ...label_and_text.entry {left fillx}
  38.  
  39. > Q. 2
  40. > How do I turn off the icon button for child windows ( or I guess more
  41. > apropriately, how I create a window without the toplevel command )
  42.  
  43. In Xt based toolkits (or in Motif anyway) different `shell' widgets
  44. are used for different purposes.  Motif has a DialogShell widget
  45. which doesn't put out an icon and negotiates a different set of
  46. window border doo-dads.  (No iconize, etc)
  47.  
  48. Tk doesn't have any of this.  The wmprotocols code on barkley may
  49. do some of this but I haven't looked.
  50.  
  51. It appears that Tk 3.0 won't have this fixed either since the dialogs
  52. in `Perspecta Presents!' have a complete set of window border doo-dads.
  53. On the other hand they've incorporated some of that since using the window
  54. manager to close windows doesn't kill the process.
  55.  
  56. > Q. 4
  57. > How do I set a double-click on a selection to invoke an action?
  58.  
  59. bind <double-button-n> ...widget { action string }
  60.  
  61. > Q. 6
  62. > I want to show an initializing box beofre the main window is brought up.
  63. > The code is their, but it is never seen.  Why?
  64.  
  65. update
  66.  
  67.  
  68. <- David Herron <david@twg.com> (work) <david@davids.mmdf.com> (home)
  69. <-
  70. <- During the '80s Usenet's mantra was: "Not all the world's a VAX".
  71. <- During the '90s I hope it becomes:   "Not all the world's DOS (ick)".
  72.