A callback that is invoked when a tray entry is selected.
Flags that control the creation of system tray entries.
Simulate a click on a tray entry.
Create an icon to be placed in the operating system's tray, or equivalent.
Create a menu for a system tray.
Create a submenu for a system tray entry.
Destroys a tray object.
Returns a list of entries in the menu, in order.
Gets whether or not an entry is checked.
Gets whether or not an entry is enabled.
Gets the label of an entry.
Gets the menu containing a certain tray entry.
Gets a previously created tray menu.
Gets the entry for which the menu is a submenu, if the current menu is a submenu.
Gets the tray for which this menu is the first-level menu, if the current menu isn't a submenu.
Gets a previously created tray entry submenu.
Insert a tray entry at a given position.
Removes a tray entry.
Sets a callback to be invoked when the entry is selected.
Sets whether or not an entry is checked.
Sets whether or not an entry is enabled.
Sets the label of an entry.
Updates the system tray icon's icon.
Updates the system tray icon's tooltip.
Update the trays.
Make the entry a simple button. Required.
Make the entry a checkbox. Required.
Make the entry checked. This is valid only for checkboxes. Optional.
Make the entry disabled. Optional.
Prepare the entry to have a submenu. Required
An opaque handle representing a toplevel system tray object.
An opaque handle representing an entry on a system tray object.
An opaque handle representing a menu/submenu on a system tray object.
SDL Tray
SDL offers a way to add items to the "system tray" (more correctly called the "notification area" on Windows). On platforms that offer this concept, an SDL app can add a tray icon, submenus, checkboxes, and clickable entries, and register a callback that is fired when the user clicks on these pieces.