Creating a pull-down list with Tkinter

Ben Gertzfield che at debian.org
Sun May 2 17:56:21 EDT 1999


After reading through the meagre documentation available for Tkinter,
I've stumped myself. Is there any module available that will give
me a pull-down list, similar to what appears in tkFileDialog, or
any of the zillions of pull-down lists you see on web pages?

I'm trying to make a graphical front-end to my ID3 MP3 info tag
manipulator Python class, but Listbox is inappropriate when there
are ~150 selections possible for one of the fields (the genre
of the song) and I need to let the user select from one of them.

How can I create a pull-down list with Tkinter?

-- 
Brought to you by the letters B and A and the number 18.
"Moshimoshi. Kikoemasu ka?" "Kakenaoshimasu kara ne! 1-do kitte kudasai."
Debian GNU/Linux maintainer of Gimp and GTK+ -- http://www.debian.org/
I'm on FurryMUCK as Che, and EFNet/Open Projects IRC as Che_Fox.




More information about the Python-list mailing list