love.window.minimize

love.window.minimize Available since LÖVE 0.9.2 This function is not supported in earlier versions. Minimizes the window to the system's task bar / dock. Function Synopsis love.window.minimize( ) Arguments None. Returns Nothing. See Also love.window

love.window.maximize

love.window.maximize Available since LÖVE 0.10.0 This function is not supported in earlier versions. Makes the window as large as possible. This function has no effect if the window isn't resizable, since it essentially programmatically presses the window's "maximize" button. Function Synopsis love.window.maximize( ) Arguments None. Returns Nothing. See Also love.window

love.window.isVisible

love.window.isVisible Available since LÖVE 0.9.0 This function is not supported in earlier versions. Checks if the game window is visible. The window is considered visible if it's not minimized and the program isn't hidden. Function Synopsis visible = love.window.isVisible( ) Arguments None. Returns boolean visible True if the window is visible or false if not. See Also love.window love.visible

love.window.isOpen

love.window.isOpen Available since LÖVE 0.10.0 This function has been renamed from love.window.isCreated. Checks if the window is open. Function Synopsis open = love.window.isOpen( ) Arguments None. Returns boolean open True if the window is open, false otherwise. See Also love.window love.window.isCreated

love.window.isMaximized

love.window.isMaximized Available since LÖVE 0.10.2 This function is not supported in earlier versions. Gets whether the Window is currently maximized. The window can be maximized if it is not fullscreen and is resizable, and either the user has pressed the window's Maximize button or love.window.maximize has been called. Function Synopsis maximized = love.window.isMaximized( ) Arguments None. Returns boolean maximized True if the window is currently maximized in windowed mode, false ot

love.window.isDisplaySleepEnabled

love.window.isDisplaySleepEnabled Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets whether the display is allowed to sleep while the program is running. Display sleep is disabled by default. Some types of input (e.g. joystick button presses) might not prevent the display from sleeping, if display sleep is allowed. Function Synopsis enabled = love.window.isDisplaySleepEnabled( ) Arguments None. Returns boolean enabled True if system display sleep is en

love.window.isCreated

love.window.isCreated Available since LÖVE 0.9.0 and removed in LÖVE 0.10.0 This function has been renamed to love.window.isOpen. Checks if the window has been created. Function Synopsis created = love.window.isCreated( ) Arguments None. Returns boolean created True if the window has been created, false otherwise. See Also love.window

love.window.hasMouseFocus

love.window.hasMouseFocus Available since LÖVE 0.9.0 This function is not supported in earlier versions. Checks if the game window has mouse focus. Function Synopsis focus = love.window.hasMouseFocus( ) Arguments None. Returns boolean focus True if the window has mouse focus or false if not. See Also love.window

love.window.hasFocus

love.window.hasFocus Available since LÖVE 0.9.0 This function is not supported in earlier versions. Checks if the game window has keyboard focus. Function Synopsis focus = love.window.hasFocus( ) Arguments None. Returns boolean focus True if the window has the focus or false if not. See Also love.window

love.window.getWidth

love.window.getWidth Available since LÖVE 0.9.0 and removed in LÖVE 0.10.0 Use love.graphics.getWidth or love.window.getMode instead. Gets the width of the window. Function Synopsis width = love.window.getWidth( ) Arguments None. Returns number width The width of the window. See Also love.window love.window.getHeight love.window.getDimensions love.window.setMode