SDL_SetWindowMinimumSize

Set the minimum size of a window's client area.

extern (C) nothrow @nogc extern
bool
SDL_SetWindowMinimumSize

Parameters

window SDL_Window*

the window to change.

min_w int

the minimum width of the window, or 0 for no limit.

min_h int

the minimum height of the window, or 0 for no limit.

Return Value

Type: bool

true on success or false on failure; call SDL_GetError() for more information.

Threadsafety: This function should only be called on the main thread.

See Also

Meta