<< addmenu Menus setmenu >>

Scilab Help >> IGU > Menus > delmenu

delmenu

interactive button or menu deletion

Syntax

delmenu(button)
delmenu(gwin,button)

Arguments

button

a character string. The button name. On Windows operating systems (not X_window), an & should be placed before the character in the name used for keyboard shortcut; this character is underlined on the GUI.

gwin

integer. The number of graphic window where the button is required to be installed

Description

The function allows the user to delete buttons or menus create by addmenu in the main or graphics windows command panels. Predefined buttons on Scilab graphic windows can also be deleted.

If possible, it is better to delete first the latest created button for a given window to avoid gaps in command panels.

Examples

addmenu('foo')
delmenu('foo')

See also


Report an issue
<< addmenu Menus setmenu >>