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

  1. Newsgroups: comp.lang.tcl
  2. Path: sparky!uunet!uunet.ca!choreo!root
  3. From: root@choreo.ca (Superuser)
  4. Subject: novice tk questions
  5. Organization: Choreo Systems, Ottawa Canada
  6. Date: Thu, 17 Dec 1992 16:05:40 GMT
  7. Message-ID: <1992Dec17.160540.24685@choreo.ca>
  8. Lines: 35
  9.  
  10. Plaease forgive me for these questions.  I'm still rather new to this X
  11. stuff, and I appreciate your indulgence.
  12.  
  13. I am re-writing an existing Perl application in tcl and tk, not because it
  14. doesn't work in Perl, but because someone wants an X-version.
  15.  
  16. 1.  I have a scrolled list setup, and I want to be able to determine the item
  17. which was selected in the list.  How so I do this?  
  18.  
  19. 2.  I would like to prevent the user from being able to select more than
  20. one item in the list.
  21.  
  22. 3.  I have a button binding set up as
  23.  
  24.     bind . <Double-Button-1> { DoSearch }
  25.  
  26.     but it doesn't call the subroutine.  No errors are displayed on stdout.
  27.  
  28. 4.  There is an entry widget setup to collect some info from the user,
  29. where does this info get stuffed, and how do I look at it?
  30.  
  31. 5.  I noticed from an earlier posting that someone wanted a read-only entry
  32. widget.  I will also be doing this as there are some dyanmic fields which
  33. will be shown in the one of the windows.  How do I stuff the value into the
  34. entry widget?
  35.  
  36. Thanks for the feedback!
  37.  
  38. Chris
  39.  
  40.  
  41. -- 
  42. ????                --- It Always works for me! ---                           
  43. Chris Hare, UNIX Scientist                  Preferred : chare@unilabs.org
  44. Just a mild-mannered consultant by day ....
  45.