mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
menu: support inline submenus
...for example:
<menu id="root-menu" label="">
<menu id="submenu" label="submenu">
<item label="foo"></item>
</menu>
<item label="bar"></item>
</menu>
This commit is contained in:
parent
b878db57a7
commit
cd31283ba3
2 changed files with 19 additions and 2 deletions
|
|
@ -25,6 +25,7 @@ struct menu {
|
|||
char *id;
|
||||
char *label;
|
||||
bool visible;
|
||||
struct menu *parent;
|
||||
struct wlr_box box;
|
||||
struct wl_list menuitems;
|
||||
struct server *server;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue