File: findobj.man

package info (click to toggle)
scilab 2.6-4
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 54,632 kB
  • ctags: 40,267
  • sloc: ansic: 267,851; fortran: 166,549; sh: 10,005; makefile: 4,119; tcl: 1,070; cpp: 233; csh: 143; asm: 135; perl: 130; java: 39
file content (42 lines) | stat: -rw-r--r-- 1,073 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
.TH "findobj" 2 " 04 June 1998" "Fractales Group" "Scilab Function"
.so ../sci.an
.SH NAME
findobj - find an object with specified property

.SH CALLING SEQUENCE
h=findobj(prop,value)
.SH PARAMETERS
.TP
o 
prop : string character
Name of the property to test.
.TP
o 
value : string character
specify the value the tested propoerty should be equal to.
o 
h : handle of the found object.
.SH DESCRIPTION
This routine is currentlyt used to find objects knowing their 'tag'
property.  It returns handle of the first found object which property
'prop' is equal to 'value'. If such an object does not exist, the
function returns a void matrix.
.SH EXAMPLE
.nf
h=figure();
// creates  figure number 1.
uicontrol( h, 'style','text', ...
 'string','This is a figure', ...
 'position',[50 70 100 100], ...
 'fontsize',15, ...
 'tag','Alabel');
// put a  text in figure 1
lab=findobj('tag','Alabel');
// find the object which 'tag' value is 'Alabel'
disp('the handle of the label is '+string(lab));
close();
.fi
.SH SEE ALSO
uicontrol, uimenu, set, get 
.SH AUTHOR
Bertrand Guiheneuf