GtkWindow::set_title

void set_title(string title);

Sets the title shown in the window's title bar, and also in the task bar icon for the window when it is minimized. The text is truncated to the width of the window.

Either single or double quotation marks may be used to contain the string. Note that any apostrophes will need to be escaped with a backslash if single quotation marks are used.