handle_event
Description:
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.
Parameters:
this | |
event |
A EventKey event to handle. |
toplevel |
A Widget or null. |
Returns:
true if the event was handled. |