Difference between revisions of "love.graphics.setIcon"
m (replaced an newinoldin.) |
|||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{newinoldin|[[0.7.0]]|070|[[0.9.0]]|090|type=function|text=Moved to the [[love.window]] module as [[love.window.setIcon]]}} |
− | Set window icon. This feature is not completely supported on Windows (apparently | + | Set window icon. This feature is not completely supported on Windows (apparently [https://github.com/love2d/love/issues/148 an SDL bug], not a LÖVE bug). |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | love.graphics.setIcon( | + | love.graphics.setIcon( image ) |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
− | {{param| | + | {{param|Image|image|The window icon.}} |
=== Returns === | === Returns === | ||
Nothing. | Nothing. | ||
− | |||
− | |||
== See Also == | == See Also == | ||
* [[parent::love.graphics]] | * [[parent::love.graphics]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
{{#set:Description=Set window icon.}} | {{#set:Description=Set window icon.}} | ||
+ | {{#set:Sub-Category=Window}} | ||
== Other Languages == | == Other Languages == | ||
{{i18n|love.graphics.setIcon}} | {{i18n|love.graphics.setIcon}} |
Latest revision as of 09:53, 30 June 2023
Available since LÖVE 0.7.0 and removed in LÖVE 0.9.0 |
Moved to the love.window module as love.window.setIcon. |
Set window icon. This feature is not completely supported on Windows (apparently an SDL bug, not a LÖVE bug).
Function
Synopsis
love.graphics.setIcon( image )
Arguments
Image image
- The window icon.
Returns
Nothing.
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