getKeyboard

open fun getKeyboard(): Device?

Returns the device that routes keyboard events.

Return

a GdkDevice with keyboard capabilities. This object is owned by GTK and must not be freed.