[Patches] Tkinter OptionMenu callback
Guido van Rossum
guido@python.org
Thu, 24 Feb 2000 15:54:20 -0500
> Done, but in a slightly kludgy way, since Tk never sees this option.
> See what you think about this hack.
I would use has_key(). Try what happens when you pass command=0 or
command=""!
> One other thing. I might argue that there should be a `configure'
> method that allows you to change the callback, but I on the other
> hand, it's probably not important enough to add.
No need.
> GvR> I noticed that you didn't include the legal boilerplate <2.0
> GvR> wink>.
>
> Well /I/ shouldn't need to do that, and Randall didn't include the
> boilerplate on his posted patch (from which mine was derived). Hmm,
> maybe we should ask Randall to add the boilerplate to his original
> patch, and submit that to patches@python.org? On the other hand,
> maybe the patch below looks different enough from Randall's that his
> disclaimer isn't necessary (although we'll still give due credit of
> course)?
I haven't seen Randall's patch -- is it different enough?
--Guido van Rossum (home page: http://www.python.org/~guido/)