SDL_Tray(3type)
π SDL_Tray β the whole vibe π
okay so bestie, welcome to SDL_Tray(3type), straight out of the SDL3 DATATYPES lineup. this is the page for the little handle that lets you point at a toplevel system tray object. that's it. that's the whole page. she's short, she's sweet, she's iconic, and she does exactly one job. π
β¨ NAME β¨
SDL_Tray β an opaque handle representing a toplevel system tray object.
like. she's opaque. you don't get to peek inside her. you just hold her and let the library do its thing. main character energy, no notes. π
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_tray.h>
typedef struct SDL_Tray SDL_Tray;
so you pull in the header, and there's the typedef, fr fr. struct SDL_Tray is the actual struct, SDL_Tray is the name you actually type. that's the whole thing. slay. π
π¦ AVAILABILITY π¦
this struct is available since SDL 3.2.0. so if you're on anything older, bestie, it's not there and it's not coming. upgrade era only. β
π«Ά reminder: because SDL_Tray is opaque, you work with it through the pointers and functions the library hands you. you don't go digging around in her guts. respect the mystery. π
and that's the page!! short king of a manual page, honestly. this was brought to you by the good people at Simple Directmedia Layer π, running SDL 3.4.18, and yes the whole thing is giving "tiny page, huge importance." bye bestie, go build something cute with a tray icon in it. πβ¨π¦πΈ
π¦ 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