Function SDL_GetWindowTitle

pub unsafe extern "C" fn SDL_GetWindowTitle(
    window: *mut SDL_Window,
) -> *const i8
Available on crate feature dep_sdl3 only.
Expand description

Get the title of a window.

§Parameters

  • window: the window to query.

§Return value

Returns the title of the window in UTF-8 format or “” if there is no title.

§Thread safety

This function should only be called on the main thread.

§Availability

This function is available since SDL 3.2.0.

§See also