Skip to content

raylib.SetWindowIcon

JoeStrout edited this page Nov 16, 2026 · 3 revisions

Set icon for window. Image must be in RGBA format, 8 bits per channel; it 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