pub unsafe extern "C" fn SDL_SetWindowModalFor(
    modal_window: *mut SDL_Window,
    parent_window: *mut SDL_Window
) -> c_int
Expand description

Set the window as a modal for another window.

\param modal_window the window that should be set modal \param parent_window the parent window for the modal window \returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.

\since This function is available since SDL 2.0.5.