SDL_TextInputActive - Man Page

Check whether or not Unicode text input events are enabled for a window.

Header File

Defined in SDL3/SDL_keyboard.h

Synopsis

#include "SDL3/SDL.h"

bool SDL_TextInputActive(SDL_Window *window);

Function Parameters

window

the window to check.

Return Value

Returns true if text input events are enabled else false.

Thread Safety

This function should only be called on the main thread.

Availability

This function is available since SDL 3.2.0.

See Also

·(3), SDL_StartTextInput(3)

Referenced By

SDL_StartTextInput(3), SDL_StartTextInputWithProperties(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS