Function Window.modalFor
Wraps SDL_SetWindowModalFor
(from SDL 2.0.5) which sets the window to be a modal of another parent
window, making the window always be above its parent window
Parameters
Name | Description |
---|---|
parent | the parent window which owns the window as a modal |
Throws
dsdl2
if failed to set the window as modal