Difference between revisions of "love.window.setTitle"

(Created page with "{{newin|0.9.0|090|type=function}} Sets the window caption. == Function == === Synopsis === <source lang="lua"> love.window.setCaption( caption ) </source> === Arguments ===...")
 
m (Updated notification.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{newin|[[0.9.0]]|090|type=function}}  
 
{{newin|[[0.9.0]]|090|type=function}}  
  
Sets the window caption.
+
Sets the window title.
 +
 
 +
{{notice|Constantly updating the window title can lead to issues on some systems and therefore is discouraged.}}
 +
 
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
love.window.setCaption( caption )
+
love.window.setTitle( title )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
{{param|string|caption|The new window caption.}}
+
{{param|string|title|The new window title.}}
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.
 
== See Also ==
 
== See Also ==
 
* [[parent::love.window]]
 
* [[parent::love.window]]
 +
* [[love.window.getTitle]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Sets the window caption.}}
+
{{#set:Description=Sets the window title.}}
 
{{#set:Since=090}}
 
{{#set:Since=090}}
 
== Other Languages ==
 
== Other Languages ==
{{i18n|love.window.setCaption}}
+
{{i18n|love.window.setTitle}}

Latest revision as of 15:39, 2 October 2014

Available since LÖVE 0.9.0
This function is not supported in earlier versions.


Sets the window title.

O.png Constantly updating the window title can lead to issues on some systems and therefore is discouraged.  


Function

Synopsis

love.window.setTitle( title )

Arguments

string title
The new window title.

Returns

Nothing.

See Also


Other Languages