THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!
Set the window as a modal for another window.
int SDL_SetWindowModalFor(SDL_Window *modal_window, SDL_Window *parent_window);
modal_window | the window that should be set modal |
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.
This function is available since SDL 3.0.0.
CategoryAPI, CategoryVideo, CategoryDraft