Difference between revisions of "love.window.getTitle"

(Created page with "{{newin|0.9.0|090|type=function}} Gets the window caption. == Function == === Synopsis === <source lang="lua"> caption = love.window.getCaption( ) </source> === Arguments =...")
 
(function was renamed)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{newin|[[0.9.0]]|090|type=function}}  
 
{{newin|[[0.9.0]]|090|type=function}}  
  
Gets the window caption.
+
Gets the window title.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
caption = love.window.getCaption( )
+
title = love.window.getTitle( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|string|caption|The current window caption.}}
+
{{param|string|title|The current window title.}}
 
== See Also ==
 
== See Also ==
 
* [[parent::love.window]]
 
* [[parent::love.window]]
* [[love.window.setCaption]]
+
* [[love.window.setTitle]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Gets the window caption.}}
+
{{#set:Description=Gets the window title.}}
 
{{#set:Since=090}}
 
{{#set:Since=090}}
 
== Other Languages ==
 
== Other Languages ==
{{i18n|love.window.getCaption}}
+
{{i18n|love.window.getTitle}}

Latest revision as of 19:59, 14 August 2013

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


Gets the window title.

Function

Synopsis

title = love.window.getTitle( )

Arguments

None.

Returns

string title
The current window title.

See Also


Other Languages