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