onKeyboardEvent

abstract fun onKeyboardEvent(obj: ZObject, event: ZKeyboardEvent)(source)

Called when a keyboard event occurs for the associated ZObject.

Parameters

obj

The ZObject that this listener is attached to

event

The keyboard event containing key information and modifiers