SDL_WM_SetCaption
Name
SDL_WM_SetCaption -- Sets the window title and icon name.
Synopsis
#include "SDL.h" void SDL_WM_SetCaption(const char *title, const char *icon);
Description
Sets the title-bar and icon name of the display window.
title is a UTF-8 encoded null-terminated string which will serve as the window title (the text at the top of the window). The function does not change the string. You may free the string after the function returns.
icon is a UTF-8 encoded null-terminated string which will serve as the iconified window title (the text which is displayed in the menu bar or desktop when the window is minimized). As with title this string may be freed after the function returns.
