![]() |
tray latest
Cross-platform, super tiny C99 implementation of a system tray icon with a popup menu and notifications.
|
Definition of the tray API. More...
#include <Windows.h>Go to the source code of this file.
Classes | |
| struct | tray |
| Tray icon. More... | |
| struct | tray_menu |
| Tray menu item. More... | |
Functions | |
| void | tray_exit (void) |
| Terminate UI loop. | |
| HWND | tray_get_hwnd (void) |
| Get the tray window handle. | |
| int | tray_init (struct tray *tray) |
| Create tray icon. | |
| int | tray_loop (int blocking) |
| Run one iteration of the UI loop. | |
| void | tray_show_menu (void) |
| Force show the tray menu (for testing purposes). | |
| void | tray_update (struct tray *tray) |
| Update the tray icon and menu. | |
Definition of the tray API.
| HWND tray_get_hwnd | ( | void | ) |
Get the tray window handle.
| int tray_init | ( | struct tray * | tray | ) |
Create tray icon.
| tray | The tray to initialize. |
| int tray_loop | ( | int | blocking | ) |
Run one iteration of the UI loop.
| blocking | Whether to block the call or not. |
| void tray_update | ( | struct tray * | tray | ) |
Update the tray icon and menu.
| tray | The tray to update. |