sdlSetWindowMinimumSize function
Set the minimum size of a window's client area.
\param window the window to change. \param min_w the minimum width of the window, or 0 for no limit. \param min_h the minimum 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.1.3.
\sa SDL_GetWindowMinimumSize \sa SDL_SetWindowMaximumSize
extern SDL_DECLSPEC bool SDLCALL SDL_SetWindowMinimumSize(SDL_Window *window, int min_w, int min_h)
Implementation
bool sdlSetWindowMinimumSize(Pointer<SdlWindow> window, int minW, int minH) {
final sdlSetWindowMinimumSizeLookupFunction = libSdl3.lookupFunction<
Uint8 Function(Pointer<SdlWindow> window, Int32 minW, Int32 minH),
int Function(Pointer<SdlWindow> window, int minW,
int minH)>('SDL_SetWindowMinimumSize');
return sdlSetWindowMinimumSizeLookupFunction(window, minW, minH) == 1;
}