Function sdl2_sys::SDL_SetWindowMinimumSize
source · pub unsafe extern "C" fn SDL_SetWindowMinimumSize(
window: *mut SDL_Window,
min_w: c_int,
min_h: c_int,
)
Expand description
\brief Set the minimum size of a window’s client area.
\param window The window to set a new minimum size. \param min_w The minimum width of the window, must be >0 \param min_h The minimum height of the window, must be >0
\note You can’t change the minimum size of a fullscreen window, it automatically matches the size of the display mode.
\sa SDL_GetWindowMinimumSize() \sa SDL_SetWindowMaximumSize()