Removing keyboard or mouse events completely.

I’ve been looking for this for a while, and the best I can find is “ignore”. Is there a way to completely remove a keyboard or mouse event?

What do you mean by “completely remove”? ignore() is the opposite of accept(), and is the correct way to stop listening for an event. Or do you mean you don’t even want the event generated in the first place?

David

I mean completely removing a function from an event. And then, if I wished to, giving a completely different function for that event to activate.

ignore() should do the trick, then add accept() for another function

Thanks. I suppose I had just assumed that it would ignore everything from that key until close of application, without even accepting other events.