[−][src]Function sdl2_sys::SDL_SetWindowModalFor
pub unsafe extern "C" fn SDL_SetWindowModalFor(
modal_window: *mut SDL_Window,
parent_window: *mut SDL_Window
) -> c_int
\brief Sets the window as a modal for another window (TODO: reconsider this function and/or its name)
\param modal_window The window that should be modal \param parent_window The parent window
\return 0 on success, or -1 otherwise.