Re: A couple questions regarding listbox. Resent-Date: Mon, 30 Jan 1995 14:26:44 -0500 From: Patrick Gilhuly <> Date: Mon, 30 Jan 1995 14:26:44 -0500 X-Mailer: ELM [version 2.3 PL11] Resent-From: X-Mailing-List: <> archive/latest/338 X-Loop: Precedence: list Resent-Sender:

From: Steve Pothier <>
Date: Mon, 30 Jan 1995 15:17:20 -0700


   I am looking for help regarding selection and listboxes. Is it possible
   to determine the indices of all selected items in a listbox? Also,
   can I restrict the listbox so that it only allows one item to be selected
   at a time?


To only allow one item to be selected, try:

  (tk-listbox-single-select .chooser.c.list)

I don't know the answer to the indices question. (I'm trying to
imagine WHY you would want to. Isn't getting the string that was
selected enough?)

Received on Mon Jan 30 1995 - 23:16:21 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST