Set the title of a window.
Defined in SDL_video.h, but apps should only #include "SDL.h"
!
void SDL_SetWindowTitle(SDL_Window * window,
const char *title);
window | the window to change |
title | the desired window title in UTF-8 format |
This string is expected to be in UTF-8 encoding.
This function is available since SDL 2.0.0.
CategoryAPI, CategoryAPIFunction