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.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.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.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.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.requestAttention

love.window.requestAttention Available since LÖVE 0.10.0 This function is not supported in earlier versions. Causes the window to request the attention of the user if it is not in the foreground. In Windows the taskbar icon will flash, and in OS X the dock icon will bounce. Function Synopsis love.window.requestAttention( continuous ) Arguments boolean continuous (false) Whether to continuously request attention until the window becomes active, or to do it only once. Returns Nothing. S

love.window.setDisplaySleepEnabled

love.window.setDisplaySleepEnabled Available since LÖVE 0.10.0 This function is not supported in earlier versions. Sets 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 love.window.setDisplaySleepEnabled( enable ) Arguments boolean enable True to enable system display sleep, false to disab

love.window.setFullscreen

love.window.setFullscreen Available since LÖVE 0.9.0 This function is not supported in earlier versions. Enters or exits fullscreen. The display to use when entering fullscreen is chosen based on which display the window is currently in, if multiple monitors are connected. Function Synopsis success = love.window.setFullscreen( fullscreen ) Arguments boolean fullscreen Whether to enter or exit fullscreen mode. Returns boolean success True if successful, false otherwise. Function Synop

love.window.setIcon

love.window.setIcon Available since LÖVE 0.9.0 This function is not supported in earlier versions. Sets the window icon until the game is quit. Not all operating systems support very large icon images. Function Synopsis success = love.window.setIcon( imagedata ) Arguments ImageData imagedata The window icon image. Returns boolean success Whether the icon has been set successfully. See Also love.window love.window.getIcon

love.window.setMode

love.window.setMode Available since LÖVE 0.9.0 Moved from love.graphics.setMode. Sets the display mode and properties of the window. If width or height is 0, setMode will use the width and height of the desktop. Changing the display mode may have side effects: for example, canvases will be cleared and values sent to shaders with Shader:send will be erased. Make sure to save the contents of canvases beforehand or re-draw to them afterward if you need to. Function Synopsis success = love.