Commit b3cdc6e8 authored by Serge A. Zaitsev's avatar Serge A. Zaitsev

checked nested menus item, added a comment about menu null termination

parent f71d2ba1
......@@ -59,6 +59,8 @@ struct tray_menu {
void (*cb)(struct tray_menu *);
void *context;
struct tray_menu *submenu;
};
```
......@@ -69,6 +71,9 @@ struct tray_menu {
All functions are meant to be called from the UI thread only.
Menu arrays must be terminated with a NULL item, e.g. the last item in the
array must have text field set to NULL.
## Roadmap
* [x] Cross-platform tray icon
......@@ -76,7 +81,7 @@ All functions are meant to be called from the UI thread only.
* [x] Separators in the menu
* [x] Disabled/enabled menu items
* [x] Checked/unchecked menu items
* [ ] Nested menus
* [x] Nested menus
* [ ] Icons for menu items
* [ ] Rewrite ObjC code in C using ObjC Runtime (now ObjC code breaks many linters and static analyzers)
* [ ] Call GTK code using dlopen/dlsym (to make binaries run safely if Gtk libraries are not available)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment