SDL_GetTrayEntryChecked(3)
π NAME π
SDL_GetTrayEntryChecked β bestie, this one just tells you whether or not an entry is checked. that's it. that's the whole vibe. β¨
π SYNOPSIS π
#include <SDL3/SDL_tray.h>
bool SDL_GetTrayEntryChecked(SDL_TrayEntry *entry);
π¦ DESCRIPTION π¦
okay so here's the tea π΅ β this function peeks at a tray entry and reports back whether it's checked or not.
β οΈ real talk though: theentryyou hand over must have been created with theSDL_TRAYENTRY_CHECKBOXflag. like, that's not optional, that's the whole prerequisite. no checkbox flag, no check to get. periodt. π
πΈ FUNCTION PARAMETERS πΈ
entryβ the entry to be read. that's the one you're checking on, girl. π
β¨ RETURN VALUE β¨
Returns true if the entry is checked, and false otherwise. simple as that, no plot twist. π
π§ THREAD SAFETY π§
This function should be called on the thread that created the tray. no hopping threads on this one, she likes her original home thread, iykyk. π«Ά
π AVAILABILITY π
This function is available since SDL 3.2.0. so if you're on anything older, respectfullyβ¦ it's not there yet. π
π SEE ALSO π
and that's the whole page, bestie!! π this was brought to you by Simple Directmedia Layer, living in the SDL 3.4.18 era, dated right there in the SDL_GetTrayEntryChecked(3) footer β go forth and check those boxes, you main character πβ¨π
π¦ 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