75249c15a9ff17eeefd57c565d0c280278bf44d8
[scilab.git] / scilab / modules / core / help / pt_BR / configuration / with_tk.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="with_tk" xml:lang="pt">
3     <refnamediv>
4         <refname>with_tk</refname>
5         <refpurpose>
6             checa se o Scilab foi construído com TCL/TK  (<emphasis role="bold">obsolete</emphasis>)
7         </refpurpose>
8     </refnamediv>
9     <refsynopsisdiv>
10         <title>Seqüência de Chamamento</title>
11         <synopsis>r=with_tk()</synopsis>
12     </refsynopsisdiv>
13     <refsection>
14         <title>Parâmetros</title>
15         <variablelist>
16             <varlistentry>
17                 <term>r</term>
18                 <listitem>
19                     <para>um booleano</para>
20                 </listitem>
21             </varlistentry>
22         </variablelist>
23     </refsection>
24     <refsection>
25         <title>Descrição</title>
26         <warning>
27             <literal>with_tk()</literal> will no longer be available in Scilab 6.1.
28             Please use <literal>with_module("tclsci")</literal> instead.
29         </warning>
30         <para>
31             Retorna <literal>%t</literal> se o Scilab tiver sido construído com
32             a interface TCL/TK ou <literal>%f</literal> se não.
33         </para>
34     </refsection>
35     <refsection>
36         <title>Exemplos</title>
37         <programlisting role="example"><![CDATA[
38 if with_tk() == %t then
39    disp("Tk is available");
40 else
41    disp("Tk is not available");
42 end
43  ]]></programlisting>
44     </refsection>
45     <refsection role="history">
46         <title>Histórico</title>
47         <revhistory>
48             <revision>
49                 <revnumber>6.0.2</revnumber>
50                 <revdescription>
51                     with_tk() is declared obsolete to be removed from Scilab 6.1.
52                     It may be replaced with <literal>with_module("tclsci")</literal>.
53                 </revdescription>
54             </revision>
55         </revhistory>
56     </refsection>
57 </refentry>