Get parent of a window.
Defined in <SDL3/SDL_video.h>
SDL_Window* SDL_GetWindowParent(SDL_Window *window);
window | the window to query |
Returns the parent of the window on success or NULL if the window has no parent.
This function is available since SDL 3.0.0.
CategoryAPI, CategoryAPIFunction