Function SDL_SetWindowTitle

pub unsafe extern "C" fn SDL_SetWindowTitle(
    window: *mut SDL_Window,
    title: *const i8,
)
Available on crate feature dep_sdl2 only.
Expand description

Set the title of a window.

This string is expected to be in UTF-8 encoding.

\param window the window to change \param title the desired window title in UTF-8 format

\since This function is available since SDL 2.0.0.

\sa SDL_GetWindowTitle