1
.TH setmenu 3 "December 1995" "Scilab Group" "Scilab Function"
4
setmenu - interactive button or menu activation
7
setmenu(button [,nsub])
8
setmenu(gwin,button [,nsub])
13
: a character string. The button name
16
: integer. The number of graphic window where the button is installed
19
: integer. The number of submenu to de-activate (if any). If button
20
has no sub-menu, \fVnsub\fR is ignored
23
The function allows the user to make active buttons or menus created by
24
\fVaddmenu\fR in the main or graphics windows command panels.
27
addmenu('foo') //New button made in main scilab window
28
unsetmenu('foo') //button foo cannot be activated (grey string)
29
setmenu('foo') //button foo can be activated (black string)
32
delmenu, unsetmenu, addmenu