Difference between revisions of "love.focus"

Line 15: Line 15:
 
[[Category:Callbacks]]
 
[[Category:Callbacks]]
 
{{#set:Description=Callback function triggered when window receives or loses focus.}}
 
{{#set:Description=Callback function triggered when window receives or loses focus.}}
 +
== Other Languages ==
 +
{{i18n|love.focus}}

Revision as of 20:06, 25 October 2010

Available since LÖVE 0.7.0
It is not supported in earlier versions.


Callback function triggered when window receives or loses focus.

Function

Synopsis

love.focus(f)

Arguments

boolean f
Window focus

Returns

Nothing.

See Also

Other Languages