Difference between revisions of "love.window.setTitle"

m (moved love.window.setCaption to love.window.setTitle: function was renamed)
(function was renamed)
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.
 
== 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}}

Revision as of 20:00, 14 August 2013

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


Sets the window title.

Function

Synopsis

love.window.setTitle( title )

Arguments

string title
The new window title.

Returns

Nothing.

See Also


Other Languages