Function XKeyboard.dispose

Dispose the underlying resource

override void dispose();