SDL Wiki
[ front page | index | search | recent changes | git repo | offline html ]

SDL_GetTrayVisible

Get whether a tray icon is visible.

Header File

Defined in <SDL3/SDL_tray.h>

Syntax

bool SDL_GetTrayVisible(SDL_Tray *tray);

Function Parameters

SDL_Tray * tray the tray icon to query.

Return Value

(bool) Returns true if the tray icon is visible, false if it is hidden or on failure; call SDL_GetError() for more information.

Thread Safety

This function should be called on the thread that created the tray.

Version

This function is available since SDL 3.6.0.

See Also


CategoryAPI, CategoryAPIFunction, CategoryTray


[ edit | delete | history | feedback | raw ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.