Skip to content

raylib.SetWindowIcons

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Set icon for window, multiple images NOTE 1: Images must be in RGBA format, 8bit per channel NOTE 2: The multiple images are used depending on provided sizes Standard Windows icon sizes: 256, 128, 96, 64, 48, 32, 24, 16

Parameters

Parameter Default Value Note
images
count 0

Return value

None.

Notes

Example

img16 = raylib.LoadImage("icon16.png")
img32 = raylib.LoadImage("icon32.png")
raylib.SetWindowIcons [img16, img32]
raylib.UnloadImage img16
raylib.UnloadImage img32

Clone this wiki locally