Den fredagen den 25:e januari 2013 kl. 06:57:00 UTC+1 skrev Rick Johnson:
>
> menu = optMenu.nametowidget(optMenu.menuname)
>
That was what I was missing, the '.nametowidget'. It worked like a charm:
o1=Tkinter.OptionMenu(t,v3, "€", "$")
o1.config(font=self.font)
o1.nametowidget(o1.menuname).con
Ignoring the fact that the Tkinter.Optionmenu is by far the worst widget in the
toolkit, not to mention that the whole idea of "Tkinter X_Variables" was a poor
attempt to reuse code at the expense destroying the simple and intuitive
interface of "get" and "set"; here is your answer:
## START