SetWindowTitle
From The Official Visionaire Studio: Adventure Game Engine Wiki
Revision as of 17:12, 22 November 2013 by Vis apiuser (talk)
setWindowTitle
Available since: v3.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