This function will try to dispatch event
to the proper widget and
ShortcutContext.
If the event is handled, then true is returned.
You should call this from key_press_event handler in your Window toplevel.
this | |
event |
A EventKey event to handle. |
toplevel |
A Widget or null. |
true if the event was handled. |