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)
24 lines
653 B
C
24 lines
653 B
C
/*
|
|
* menu_commands.h
|
|
* This file is part of LCDd, the lcdproc server.
|
|
*
|
|
* This file is released under the GNU General Public License. Refer to the
|
|
* COPYING file distributed with this package.
|
|
*
|
|
* Copyright (c) 1999, William Ferrell, Scott Scriven
|
|
* 2002, Joris Robijn
|
|
*
|
|
*/
|
|
|
|
#ifndef COMMANDS_MENU_H
|
|
#define COMMANDS_MENU_H
|
|
|
|
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
|
|
|