new menu_set options: -parent and -is_hidden
So all types ahve the following options:
-text "text" ("")
Sets the visible text.
-is_hidden false|true (false)
If the item currently should not appear in a menu.
-parent id ()
Sets the parent of this item.
Additionally menu_goto accepts an optional <parentid>
arg. (V.Boerchers)
This commit is contained in:
1 parent
30d5d97c68
commit
a6ddf8b990
2 files changed
+157
-20
No files matched your search
@@ -17,6 +17,7 @@ int menu_add_item_func (Client * c, int argc, char **argv);
|
||||
int menu_del_item_func (Client * c, int argc, char **argv);
|
||||
int menu_set_item_func (Client * c, int argc, char **argv);
|
||||
int menu_goto_func (Client * c, int argc, char **argv);
|
||||
int menu_set_main_func (Client * c, int argc, char **argv);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user