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

« back to all changes in this revision

Viewing changes to man/fr/tksci/ScilabEval.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>ScilabEval</TITLE>
 
6
  <TYPE>TCL Function</TYPE>
 
7
  <DATE> 04 June 1998</DATE>
 
8
  <SHORT_DESCRIPTION name="ScilabEval"> tcl instruction : Evaluate a string with scilab interpreter</SHORT_DESCRIPTION>
 
9
  <PARAM>
 
10
    <PARAM_INDENT>
 
11
      <PARAM_ITEM>
 
12
        <PARAM_NAME>o</PARAM_NAME>
 
13
        <PARAM_DESCRIPTION>
 
14
          <SP>str : tcl string character Contains the string to evaluate with the current scilab interpreter.</SP>
 
15
        </PARAM_DESCRIPTION>
 
16
      </PARAM_ITEM>
 
17
    </PARAM_INDENT>
 
18
  </PARAM>
 
19
  <DESCRIPTION>
 
20
    <P>
 
21
    This function must be called in a tcl/tk script executed from scilab.
 
22
    It allows to associate scilab actions to tcl/tk widgets (graphic
 
23
    objects).  The string str is put in the scilab interpreter buffer
 
24
    which then evaluates it.  This has in general no border effect in the
 
25
    tcl/tk interpreter.</P>
 
26
  </DESCRIPTION>
 
27
  <EXAMPLE>
 
28
<![CDATA[
 
29
//Create a Tcl script using ScilabEval
 
30
tcl_script=['toplevel .w1'
 
31
'button .w1.b -text ""Click here to see a new Scilab Graphic Window""\'
 
32
'  -command {ScilabEval ""xselect()""}'
 
33
'pack .w1.b ']
 
34
mputl(tcl_script,TMPDIR+'/test.tcl')
 
35
// Execute the tcl script
 
36
TK_EvalFile(TMPDIR+'/test.tcl')
 
37
 ]]>
 
38
  </EXAMPLE>
 
39
  <SEE_ALSO>
 
40
    <SEE_ALSO_ITEM>
 
41
      <LINK>TK_EvalFile</LINK>
 
42
    </SEE_ALSO_ITEM>
 
43
    <SEE_ALSO_ITEM>
 
44
      <LINK>TK_EvalStr</LINK>
 
45
    </SEE_ALSO_ITEM>
 
46
    <SEE_ALSO_ITEM>
 
47
      <LINK>TK_GetVar</LINK>
 
48
    </SEE_ALSO_ITEM>
 
49
    <SEE_ALSO_ITEM>
 
50
      <LINK>TK_SetVar</LINK>
 
51
    </SEE_ALSO_ITEM>
 
52
  </SEE_ALSO>
 
53
  <AUTHOR>Bertrand Guiheneuf</AUTHOR>
 
54
</MAN>