Function sdl2_sys::SDL_SetWindowIcon

source ยท
pub unsafe extern "C" fn SDL_SetWindowIcon(
    window: *mut SDL_Window,
    icon: *mut SDL_Surface,
)
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.