DRAFT |
SDL_SetWindowModalFor
Use this function to set the window as a modal for another window.
Contents
Syntax
int SDL_SetWindowModalFor(SDL_Window* modal_window,
SDL_Window* parent_window)
Function Parameters
modal_window |
the window that should be set modal |
parent_window |
the parent window for the modal window |
Return Value
Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
Code Examples
You can add your code example here
Remarks
This function is only supported on X11.
Version
This function is available in unstable versions newer than (stable) SDL 2.0.4.
