Views
love.window
Available since LÖVE 0.9.0 |
This module is not supported in earlier versions. |
Provides an interface for modifying and retrieving information about the program's window.
Functions
love.window.getDesktopDimensions | Gets the width and height of the desktop. | 0.9.0 | |
love.window.getDimensions | Gets the width and height of the window. | 0.9.0 | |
love.window.getDisplayCount | Gets the number of connected monitors. | 0.9.0 | |
love.window.getFullscreen | Gets whether the window is fullscreen. | 0.9.0 | |
love.window.getFullscreenModes | Gets a list of supported fullscreen modes. | 0.9.0 | |
love.window.getHeight | Gets the height of the window. | 0.9.0 | |
love.window.getIcon | Gets the window icon. | 0.9.0 | |
love.window.getMode | Gets the display mode and properties of the window. | 0.9.0 | |
love.window.getPixelScale | Gets the scale factor associated with the window. | 0.9.1 | |
love.window.getTitle | Gets the window title. | 0.9.0 | |
love.window.getWidth | Gets the width of the window. | 0.9.0 | |
love.window.hasFocus | Checks if the game window has keyboard focus. | 0.9.0 | |
love.window.hasMouseFocus | Checks if the game window has mouse focus. | 0.9.0 | |
love.window.isCreated | Checks if the window has been created. | 0.9.0 | |
love.window.isVisible | Checks if the game window is visible. | 0.9.0 | |
love.window.setFullscreen | Enters or exits fullscreen. | 0.9.0 | |
love.window.setIcon | Sets the window icon. | 0.9.0 | |
love.window.setMode | Sets the display mode and properties of the window. | 0.9.0 | |
love.window.setTitle | Sets the window title. | 0.9.0 |
Enums
FullscreenType | Types of fullscreen modes. | 0.9.0 |
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