getKeyboard

open fun getKeyboard(): Device?(source)

Returns the device that routes keyboard events.

Return

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