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

« back to all changes in this revision

Viewing changes to man/tksci/findobj.man

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH "findobj" 2 " 04 June 1998" "Fractales Group" "Scilab Function"
 
2
.so ../sci.an
 
3
.SH NAME
 
4
findobj - find an object with specified property
 
5
 
 
6
.SH CALLING SEQUENCE
 
7
h=findobj(prop,value)
 
8
.SH PARAMETERS
 
9
.TP
 
10
 
11
prop : string character
 
12
Name of the property to test.
 
13
.TP
 
14
 
15
value : string character
 
16
specify the value the tested propoerty should be equal to.
 
17
 
18
h : handle of the found object.
 
19
.SH DESCRIPTION
 
20
This routine is currentlyt used to find objects knowing their 'tag'
 
21
property.  It returns handle of the first found object which property
 
22
'prop' is equal to 'value'. If such an object does not exist, the
 
23
function returns a void matrix.
 
24
.SH EXAMPLE
 
25
.nf
 
26
h=figure();
 
27
// creates  figure number 1.
 
28
uicontrol( h, 'style','text', ...
 
29
 'string','This is a figure', ...
 
30
 'position',[50 70 100 100], ...
 
31
 'fontsize',15, ...
 
32
 'tag','Alabel');
 
33
// put a  text in figure 1
 
34
lab=findobj('tag','Alabel');
 
35
// find the object which 'tag' value is 'Alabel'
 
36
disp('the handle of the label is '+string(lab));
 
37
close();
 
38
.fi
 
39
.SH SEE ALSO
 
40
uicontrol, uimenu, set, get 
 
41
.SH AUTHOR
 
42
Bertrand Guiheneuf