TKeyEvents

TKeyEvents🌶️

class TKeyEvents[source]🌶️

Bases: object

Methods🌶️

keyEvent(evt: TTkKeyEvent) bool[source]🌶️

This event handler, can be reimplemented in a subclass to receive key events for the widget.

Note

Reimplement this function to handle this event

Parameters:

evt (TTkKeyEvent) – The keyboard event

Returns:

True if the event has been handled

Return type:

bool