James Stroud wrote: > Alex Hunsley wrote: > >> Can anyone recommend some code for creating drop-down menus in tkinter? >> To be absolutely clear, here's an example of a drop-down: >> >> http://www.google.co.uk/preferences?hl=en >> (see the language selection widget) >> >> I've found the odd bit of code here and there, such as: >> http://infohost.nmt.edu/tcc/cgi/pre.cgi?file=/u/www/docs/tcc/help/lang/python/mapping/dropdown.py >> >> >> >> alex > > > Try: > > 1. Tkinter OptionMenu: > http://effbot.org/tkinterbook/optionmenu.htm > > 2. Pmw OptionMenu: > http://pmw.sourceforge.net/doc/OptionMenu.html > > I would opt for these before a roll-your-own version.
Thanks for those! :) alex -- http://mail.python.org/mailman/listinfo/python-list