Function SDL_SetWindowIcon

pub unsafe extern "C" fn SDL_SetWindowIcon(
    window: *mut SDL_Window,
    icon: *mut SDL_Surface,
)
Available on crate feature dep_sdl2 only.
Expand description

Set the icon for a window.

\param window the window to change \param icon an SDL_Surface structure containing the icon for the window

\since This function is available since SDL 2.0.0.