pub unsafe extern "C" fn SDL_GetWindowDisplayIndex(
    window: *mut SDL_Window
) -> c_int
Expand description

Get the index of the display associated with a window.

\param window the window to query \returns the index of the display containing the center of the window on success or a negative error code on failure; call SDL_GetError() for more information.

\since This function is available since SDL 2.0.0.

\sa SDL_GetDisplayBounds \sa SDL_GetNumVideoDisplays