Get the title of a window.
Defined in <SDL3/SDL_video.h>
const char * SDL_GetWindowTitle(SDL_Window *window);
SDL_Window * | window | the window to query. |
(const char *) Returns the title of the window in UTF-8 format or "" if there is no title.
This function should only be called on the main thread.
This function is available since SDL 3.1.3.