SDL_SetWindowTitle

Set the title of a window.

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

extern (C) nothrow @nogc extern
bool
SDL_SetWindowTitle
(,
const(char)* title
)

Parameters

window SDL_Window*

the window to change.

title const(char)*

the desired window title in UTF-8 format.

Return Value

Type: bool

true on success or false on failure; call SDL_GetError() for more information.

Threadsafety: This function should only be called on the main thread.

See Also

Meta