471,354 Members | 1,507 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

multiple selection of cells

Hi,
I wonder how to hold the ctrl key and left button (button-1) to do
multiple selection of the following items?
Thanks,
Linda

import Tkinter

s = Tkinter.Scrollbar()
L = Tkinter.Listbox()

s.pack(side=Tkinter.RIGHT, fill=Tkinter.Y)
L.pack(side=Tkinter.LEFT, fill=Tkinter.Y)

s.config(command=L.yview)
L.config(yscrollcommand=s.set)

for i in range(30):
L.insert(Tkinter.END, str(i)*3)

Tkinter.mainloop()
Nov 26 '07 #1
0 996

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Eddy Balan | last post: by
18 posts views Thread by =?Utf-8?B?TGkgV2VuZw==?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.