W3cubDocs

/LÖVE

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

© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.window.setIcon