sdlIsScreenKeyboardShown function

bool sdlIsScreenKeyboardShown(
  1. Pointer<SdlWindow> window
)

Check whether the screen keyboard is shown for given window.

\param window the window for which screen keyboard should be queried \returns SDL_TRUE if screen keyboard is shown or SDL_FALSE if not.

\since This function is available since SDL 2.0.0.

\sa SDL_HasScreenKeyboardSupport

extern DECLSPEC SDL_bool SDLCALL SDL_IsScreenKeyboardShown(SDL_Window *window)

Implementation

bool sdlIsScreenKeyboardShown(Pointer<SdlWindow> window) {
  final sdlIsScreenKeyboardShownLookupFunction = libSdl2.lookupFunction<
      Int32 Function(Pointer<SdlWindow> window),
      int Function(Pointer<SdlWindow> window)>('SDL_IsScreenKeyboardShown');
  return sdlIsScreenKeyboardShownLookupFunction(window) == 1;
}