Skip to content

raylib.SetWindowIcon

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Set icon for window NOTE 1: Image must be in RGBA format, 8bit per channel NOTE 2: Image is scaled by the OS for all required sizes

Parameters

Parameter Default Value Note
image

Return value

None.

Notes

Example

icon = raylib.LoadImage("icon.png")
raylib.SetWindowIcon icon
raylib.UnloadImage icon

Clone this wiki locally