[Patches] Tkinter OptionMenu callback

bwarsaw@CNRI.Reston.VA.US bwarsaw@CNRI.Reston.VA.US
Thu, 24 Feb 2000 16:06:20 -0500 (EST)


>>>>> "GvR" == Guido van Rossum <guido@python.org> writes:

    GvR> I would use has_key().  Try what happens when you pass
    GvR> command=0 or command=""!

That's what I get for rushing :)  You're right of course.

    BAW> > One other thing.  I might argue that there should be a
    BAW> `configure' > method that allows you to change the callback,
    BAW> but I on the other > hand, it's probably not important enough
    BAW> to add.

    GvR> No need.

Cool.

    GvR> I haven't seen Randall's patch -- is it different enough?

Define "enough" :) Clearly the spirit is all there.  The patch is
fairly small anyway, so if I had my GNU hat on and was adding this to
a GNU project, it would probably fall under the disclaimer radar.
YMMV.

-Barry