Re: bind with class inhibits -command option



On May 26, 8:41 pm, moi <m...@xxxxxxx> wrote:

What is it you are trying to accomplish?

Just want to change buttons default behaviour and keep -command option
active. I'll, so, put this line in my callback scripts.

I think it would be much better to use the "+" syntax in front of your
callback:

bind Button <Enter> {+whatever you want}

as it is the documented, idiomatic form of incremental override in Tk.

-Alex

.



Relevant Pages