clearComposition method

bool clearComposition()

Dismiss the composition window/IME without disabling the subsystem.

\param window the window to affect. \returns true on success or false on failure; call SDL_GetError() for more information.

\threadsafety This function should only be called on the main thread.

\since This function is available since SDL 3.2.0.

\sa SDL_StartTextInput \sa SDL_StopTextInput

extern SDL_DECLSPEC bool SDLCALL SDL_ClearComposition(SDL_Window *window)

See also:

Implementation

bool clearComposition() => sdlClearComposition(this);