love.visible

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