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:
marschap
2005-05-20 09:44:47 +00:00
parent 30d5d97c68
commit a6ddf8b990
2 changed files with 157 additions and 20 deletions
+1
View File
@@ -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