SDL_SetWindowIcon

Use this function to set the icon for a window.

Syntax

void SDL_SetWindowIcon(SDL_Window*  window,
                       SDL_Surface* icon)

Function Parameters

window

the window to change

icon

an SDL_Surface structure containing the icon for the window

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryVideo

SDL_SetWindowIcon (last edited 2010-10-16 05:47:28 by SheenaSmith)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit