Difference between revisions of "love.visible"
(Created page) |
m |
||
Line 24: | Line 24: | ||
[[Category:Callbacks]] | [[Category:Callbacks]] | ||
{{#set:Description=Callback function triggered when window is shown or hidden.}} | {{#set:Description=Callback function triggered when window is shown or hidden.}} | ||
+ | {{#set:Subcategory=General}} | ||
== Other Languages == | == Other Languages == | ||
{{i18n|love.visible}} | {{i18n|love.visible}} |
Revision as of 07:02, 31 October 2013
Available since LÖVE 0.9.0 |
This callback is not supported in earlier versions. |
Callback function triggered when window is minimized/hidden or unminimized by the user.
Function
Synopsis
love.visible( v )
Arguments
boolean v
- Window visibility.
Returns
Nothing.
Example
function love.visible(v)
if v then
print("Window is not visible!")
else
print("Window is visible!")
end
end
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info