destroy method
void
destroy()
Destroys a tray object.
This also destroys all associated menus and entries.
\param tray the tray icon to be destroyed.
\threadsafety This function should be called on the thread that created the tray.
\since This function is available since SDL 3.2.0.
\sa SDL_CreateTray
extern SDL_DECLSPEC void SDLCALL SDL_DestroyTray(SDL_Tray *tray)
Implementation
void destroy() => sdlDestroyTray(this);