in reply to How do I suppress handlers when binding callbacks in Tk
Calling Tk->break from within your handler will prevent any further callbacks being called.
If the handler that you wish to supress is being called before your callback is processed, then you will need to either bind your callback at a higher level (say, to the class rather than the instance), or use $widget->bindtags to alter the order of the bindings.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How do I suppress handlers when binding callbacks in Tk
by GrandFather (Saint) on Apr 23, 2006 at 22:48 UTC |