SDL_RemoveTrayEntry(3)
π SDL_RemoveTrayEntry π
okay bestie, welcome to the SDL3 FUNCTIONS section of the manual, and today's main character is SDL_RemoveTrayEntry(3) π she's a lil void function with one job and she does it flawlessly, no cap.
β¨ NAME β¨
SDL_RemoveTrayEntry β removes a tray entry. that's it. that's the whole vibe. π¦
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_tray.h>
void SDL_RemoveTrayEntry(SDL_TrayEntry *entry);
look at her. void, so she gives you nothing back β not even a status code, not even a lil bool. she just Does The Thing. π
π FUNCTION PARAMETERS π
entryβ the entry to be deleted. like, the tray entry you want gone-gone, poof, bye. π«Ά
π§ THREAD SAFETY π§
okay this is the part where you gotta pay attention, fr fr: this function should be called on the thread that created the tray. yes, that thread. the one that made the tray in the first place. don't be out here calling it from some random other thread and acting surprised, i'm literally begging. π
β AVAILABILITY β
this function is available since SDL 3.2.0. so if you're on anything older, she is simply not there for you, sorry bestie. π
π SEE ALSO π
iykyk β go read those too, they're the rest of the tray-entry friend group and they ate. π₯
Simple Directmedia Layer, SDL 3.4.18, and yes this lil page is signed off by SDL_RemoveTrayEntry(3) herself β she said periodt, delete the entry, and go touch grass. ππ
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms