Difference between revisions of "love.focus"

(Created page with 'Callback function triggered when window receives or loses focus. == Function == === Synopsis === <source lang="lua"> love.focus(f) </source> === Arguments === {{param|boolean|f|W…')
 
Line 1: Line 1:
 +
{{newin|[[0.7.0]]}}
 +
 
Callback function triggered when window receives or loses focus.
 
Callback function triggered when window receives or loses focus.
 
== Function ==
 
== Function ==

Revision as of 09:19, 16 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