Function SDL_GetSystemTheme

pub unsafe extern "C" fn SDL_GetSystemTheme() -> SDL_SystemTheme
Available on crate feature dep_sdl3 only.
Expand description

Get the current system theme.

§Return value

Returns the current system theme, light, dark, or unknown.

§Thread safety

This function should only be called on the main thread.

§Availability

This function is available since SDL 3.2.0.