Scilab 5.3.0
- Scilab Online Help
- GUI
- Tree
- about
- addmenu
- clipboard
- close
- delmenu
- exportUI
- figure
- findobj
- gcbo
- getcallbackobject
- getinstalledlookandfeels
- getlookandfeel
- getvalue
- messagebox
- printfigure
- printsetupbox
- progressionbar
- root_properties
- setlookandfeel
- setmenu
- toolbar
- toprint
- uicontrol
- uigetcolor
- uigetdir
- uigetfile
- uigetfont
- uimenu
- uiputfile
- unsetmenu
- usecanvas
- waitbar
- x_choices
- x_choose
- x_choose_modeless
- x_dialog
- x_matrix
- x_mdialog
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
setmenu
interactive button or menu activation
Calling Sequence
setmenu(button [,nsub]) setmenu(gwin,button [,nsub])
Arguments
- button
a character string. The button name
- gwin
integer. The number of graphic window where the button is installed
- nsub
integer. The number of submenu to de-activate (if any). If button has no sub-menu,
nsub
is ignored
Description
The function allows the user to make active buttons or menus created by
addmenu
in the main or graphics windows command panels.
Examples
<< setlookandfeel | GUI | toolbar >> |