pub unsafe extern "C" fn SDL_SetWindowAlwaysOnTop(
    window: *mut SDL_Window,
    on_top: SDL_bool
)
Expand description

Set the window to always be above the others.

This will add or remove the window’s SDL_WINDOW_ALWAYS_ON_TOP flag. This will bring the window to the front and keep the window above the rest.

  • window The window of which to change the always on top state.
  • on_top SDL_TRUE to set the window always on top, SDL_FALSE to disable.

See Also: SDL_SetWindowAlwaysOnTop