Function SDL_SetTrayTooltip

pub unsafe extern "C" fn SDL_SetTrayTooltip(
    tray: *mut SDL_Tray,
    tooltip: *const i8,
)
Available on crate feature dep_sdl3 only.
Expand description

Updates the system tray icon’s tooltip.

§Parameters

  • tray: the tray icon to be updated.
  • tooltip: the new tooltip in UTF-8 encoding. May be NULL.

§Thread safety

This function should be called on the thread that created the tray.

§Availability

This function is available since SDL 3.2.0.

§See also