Get whether a tray icon is visible.
Defined in <SDL3/SDL_tray.h>
bool SDL_GetTrayVisible(SDL_Tray *tray);| SDL_Tray * | tray | the tray icon to query. |
(bool) Returns true if the tray icon is visible, false if it is hidden or on failure; call SDL_GetError() for more information.
This function should be called on the thread that created the tray.
This function is available since SDL 3.6.0.