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

« back to all changes in this revision

Viewing changes to man/fr/tksci/TK_GetVar.xml

  • 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
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
 
2
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
 
3
<MAN>
 
4
  <LANGUAGE>eng</LANGUAGE>
 
5
  <TITLE>TK_GetVar</TITLE>
 
6
  <TYPE>Scilab Function</TYPE>
 
7
  <DATE> 04 June 1998</DATE>
 
8
  <SHORT_DESCRIPTION name="TK_GetVar"> Get a tcl/tk variable value</SHORT_DESCRIPTION>
 
9
  <PARAM>
 
10
    <PARAM_INDENT>
 
11
      <PARAM_ITEM>
 
12
        <PARAM_NAME>o</PARAM_NAME>
 
13
        <PARAM_DESCRIPTION>
 
14
          <SP>varname : string character Contains the name of the tcl/tk variable.</SP>
 
15
        </PARAM_DESCRIPTION>
 
16
      </PARAM_ITEM>
 
17
      <PARAM_ITEM>
 
18
        <PARAM_NAME>o</PARAM_NAME>
 
19
        <PARAM_DESCRIPTION>
 
20
          <SP>value : string character Contains the value of the tcl/tk variable 'varname'.</SP>
 
21
        </PARAM_DESCRIPTION>
 
22
      </PARAM_ITEM>
 
23
    </PARAM_INDENT>
 
24
  </PARAM>
 
25
  <DESCRIPTION>
 
26
    <P>
 
27
    When tcl/tk support is enabled in scilab, this routine can be used to retreive
 
28
    the value of a tcl/tk variable.</P>
 
29
  </DESCRIPTION>
 
30
  <EXAMPLE>
 
31
<![CDATA[
 
32
TK_EvalStr('toplevel .tst1');
 
33
// creates a toplevel TK window. 
 
34
TK_EvalStr('entry .tst1.e -textvariable tvar');
 
35
// create an editable entry
 
36
TK_EvalStr('set tvar foobar');
 
37
// set the entry value
 
38
TK_EvalStr('pack .tst1.e');
 
39
// pack the entry widget. It appears on the screen.
 
40
text=TK_GetVar('tvar')
 
41
// retrieve the variable value
 
42
// change the entry text and repeat the last command ...
 
43
 
 
44
//delete the toplevel TK window.
 
45
TK_EvalStr('destroy .tst1')
 
46
 
 
47
 ]]>
 
48
  </EXAMPLE>
 
49
  <SEE_ALSO>
 
50
    <SEE_ALSO_ITEM>
 
51
      <LINK>ScilabEval</LINK>
 
52
    </SEE_ALSO_ITEM>
 
53
    <SEE_ALSO_ITEM>
 
54
      <LINK>TK_EvalFile</LINK>
 
55
    </SEE_ALSO_ITEM>
 
56
    <SEE_ALSO_ITEM>
 
57
      <LINK>TK_EvalStr</LINK>
 
58
    </SEE_ALSO_ITEM>
 
59
    <SEE_ALSO_ITEM>
 
60
      <LINK>TK_SetVar</LINK>
 
61
    </SEE_ALSO_ITEM>
 
62
  </SEE_ALSO>
 
63
  <AUTHOR>Bertrand Guiheneuf</AUTHOR>
 
64
</MAN>