Function SDL_DestroyTray

pub unsafe extern "C" fn SDL_DestroyTray(tray: *mut SDL_Tray)
Available on crate feature dep_sdl3 only.
Expand description

Destroys a tray object.

This also destroys all associated menus and entries.

§Parameters

  • tray: the tray icon to be destroyed.

§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