setMaximumSize method
Set the maximum size of a window's client area.
\param window the window to change. \param max_w the maximum width of the window, or 0 for no limit. \param max_h the maximum height of the window, or 0 for no limit. \returns true on success or false on failure; call SDL_GetError() for more information.
\threadsafety This function should only be called on the main thread.
\since This function is available since SDL 3.2.0.
\sa SDL_GetWindowMaximumSize \sa SDL_SetWindowMinimumSize
extern SDL_DECLSPEC bool SDLCALL SDL_SetWindowMaximumSize(SDL_Window *window, int max_w, int max_h)
{@category video}
Implementation
bool setMaximumSize(int w, int h) => sdlSetWindowMaximumSize(this, w, h);