~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/gui/setmenu.man

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH setmenu 3 "December 1995" "Scilab Group" "Scilab Function"
2
 
.so ../sci.an
3
 
.SH NAME
4
 
setmenu - interactive button or menu activation
5
 
.SH CALLING SEQUENCE
6
 
.nf
7
 
setmenu(button [,nsub]) 
8
 
setmenu(gwin,button [,nsub])
9
 
.fi
10
 
.SH PARAMETERS
11
 
.TP
12
 
button
13
 
: a character string. The button name
14
 
.TP
15
 
gwin
16
 
: integer. The number of graphic window where the button is  installed
17
 
.TP
18
 
nsub
19
 
: integer. The number of submenu to de-activate (if any). If button
20
 
has no sub-menu, \fVnsub\fR is ignored
21
 
 
22
 
.SH DESCRIPTION
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.
25
 
.SH EXAMPLE
26
 
.nf
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)
30
 
.fi
31
 
.SH SEE ALSO
32
 
delmenu, unsetmenu, addmenu