Hwo can I enable list to select multiple items?

Fredrik Lundh fredrik at effbot.org
Tue Nov 7 14:22:34 EST 2000


etsang at my-deja.com wrote:
> Currently I have tring to do the following:
> a list containing names of files for selection. The list is dispalyed
> in a window. But I do not want to just click and select one item at a
> time? How can I let the user to select a block of files? I am using
> TkIncr for Solaris.

TkIncr?  If you mean Tkinter and you're using a Listbox widget,
the answer can be found here:

    http://www.pythonware.com/library/tkinter/introduction/listbox.htm
    => patterns => "The listbox offers four different selection modes" (etc)

</F>





More information about the Python-list mailing list