SDL_CreateTraySubmenu

Create a submenu for a system tray entry.

This should be called at most once per tray entry.

This function does the same thing as SDL_CreateTrayMenu, except that it takes a SDL_TrayEntry instead of a SDL_Tray.

A menu does not need to be destroyed; it will be destroyed with the tray.

extern (C) nothrow @nogc extern
SDL_CreateTraySubmenu

Parameters

entry SDL_TrayEntry*

The tray entry to bind the menu to.

Return Value

the newly created menu.

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

See Also

Meta