SetWindowTitle

From The Official Visionaire Studio: Adventure Game Engine Wiki
Revision as of 21:28, 30 September 2014 by Vis apiuser (talk)

setWindowTitle

Available since: v4.0
Sets the window title.

Lua Syntax:

setWindowTitle(WindowTitle)

Arguments

WindowTitle

"string" - Title bar name of display window.

Flags

Return Values

None.

Examples

Example 1: basic set window title command

setWindowTitle("my new game title")

Example 2: set window title based on current users system language

sysLang = getProperty("system_language")
if sysLang == "English" then
  setWindowTitle("my demogame")
elseif sysLang == "German" then
  setWindowTitle("mein Demospiel")
end