Re: Question about Tkinter MenuOption variable

2007-04-19 Thread Scott David Daniels
Rob Wolfe wrote: > Chad wrote: >> ... I have a menu option(code is below) I would like to have >> corresponding values of 01, 02, 03 and so on > > What about using dictionary? For example: > OPTIONS = dict(Jan=1, Feb=2, Mar=3, Apr=4, May=5, June=6, July=7, >Aug=8, Se

Re: Question about Tkinter MenuOption variable

2007-04-19 Thread Rob Wolfe
Chad wrote: > Is there anyway to set the individual options in Tkinter to a > particular variable. For example, I have a menu option(code is below) > which has January, February, March and so on, which I would like to > have corresponding values of 01, 02, 03 and so on. Can someone please > tell

Question about Tkinter MenuOption variable

2007-04-18 Thread Chad
Is there anyway to set the individual options in Tkinter to a particular variable. For example, I have a menu option(code is below) which has January, February, March and so on, which I would like to have corresponding values of 01, 02, 03 and so on. Can someone please tell me how to do that with