| SDL_InsertTrayEntryAt(3) | SDL3 FUNCTIONS | SDL_InsertTrayEntryAt(3) |
SDL_InsertTrayEntryAt - Insert a tray entry at a given position.
Defined in SDL3/SDL_tray.h
#include "SDL3/SDL.h"
SDL_TrayEntry * SDL_InsertTrayEntryAt(SDL_TrayMenu *menu, int pos, const char *label, SDL_TrayEntryFlags flags);
If label is NULL, the entry will be a separator. Many functions won't work for an entry that is a separator.
An entry does not need to be destroyed; it will be destroyed with the tray.
( SDL_TrayEntry
*) Returns the newly created entry, or NULL if pos is out of bounds.
This function should be called on the thread that created the tray.
This function is available since SDL 3.2.0.
•(3), SDL_TrayEntryFlags(3type), •(3), SDL_GetTrayEntries(3), •(3), SDL_RemoveTrayEntry(3), •(3), SDL_GetTrayEntryParent(3)
| SDL 3.2.10 | Simple Directmedia Layer |