Constant VIDEO_MAC_FULLSCREEN_MENU_VISIBILITY
pub const VIDEO_MAC_FULLSCREEN_MENU_VISIBILITY: &'static str;
Available on crate feature
dep_sdl3
only.Expand description
A variable that specifies the menu visibility when a window is fullscreen in Spaces on macOS.
The variable can be set to the following values:
- “0”: The menu will be hidden when the window is in a fullscreen space, and not accessible by moving the mouse to the top of the screen.
- “1”: The menu will be accessible when the window is in a fullscreen space.
- “auto”: The menu will be hidden if fullscreen mode was toggled on
programmatically via
SDL_SetWindowFullscreen()
, and accessible if fullscreen was entered via the “fullscreen” button on the window title bar. (default)
This hint can be set anytime.
§Availability
This hint is available since SDL 3.2.0.