Next: menuhide, Previous: memory, Up: Internal Routines [Contents][Index]
menu, menu [, x, y] [, title, item1
[, item2 …]]
[x11]
Define and/or (re)display a menu. The menu number is
menu
. The menu is displayed at position
(x,y)
, or at its old position. The menu entries are
the old ones, or title
, item1
, etc., which
must be strings. The strings may also be specified in one string array
(i.e., menu,menu,x,y,string_array
). If the
position is specified, then the menu is created and/or resized. If only
the text is specified, then the menu is not resized. If only the menu
number is specified, then the menu is redisplayed.
See also: menuhide, menuitem, menuzap, checkmenu, wait_for_menu, menupop