[doc] preferences() page improved
[scilab.git] / scilab / modules / preferences / help / ja_JP / preferences.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) 2009 - DIGITEO - Sylvestre KOUMAR
5  * Copyright (C) 2012 - 2016 - Scilab Enterprises
6  * Copyright (C) 2019 - Samuel GOUGEON
7  *
8  * This file is hereby licensed under the terms of the GNU GPL v2.0,
9  * pursuant to article 5.3.4 of the CeCILL v.2.1.
10  * This file was originally licensed under the terms of the CeCILL v2.1,
11  * and continues to be available under such terms.
12  * For more information, see the COPYING file which you should have received
13  * along with this program.
14  *
15  -->
16 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
17           xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml"
18           xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook"
19           xmlns:scilab="http://www.scilab.org" xml:id="preferences" xml:lang="ja">
20     <refnamediv>
21         <refname>preferences</refname>
22         <refpurpose>Scilab設定ウィンドウを開く</refpurpose>
23     </refnamediv>
24     <refsynopsisdiv>
25         <title>呼び出し手順</title>
26         <synopsis>
27             preferences()
28         </synopsis>
29     </refsynopsisdiv>
30     <refsection>
31         <title>説明</title>
32         <para>
33             Scilab設定ウィンドウを開きます.
34         </para>
35         <para>
36             <inlinemediaobject>
37                 <imageobject>
38                     <imagedata fileref="../images/preferences_gui_en_US.png" valign="middle"/>
39                 </imageobject>
40             </inlinemediaobject>
41         </para>
42     </refsection>
43     <refsection>
44         <title>例</title>
45         <programlisting role="example"><![CDATA[
46 preferences()
47
48 // Targeting a chosen section:
49 jdeff org.scilab.modules.preferences.XConfigManager openPreferences prefs; // once for all
50 prefs general/shortcuts
51 prefs scinotes/display
52  ]]></programlisting>
53       <para>
54         <emphasis role="bold">Edit your main user's preferences file</emphasis>
55         (you should not change its content by hand):
56       </para>
57         <programlisting role="example"><![CDATA[
58 scinotes SCIHOME/XConfiguration.xml readonly
59  ]]></programlisting>
60     <para/>
61     <para>
62         <emphasis role="bold">How to get some configuration values:</emphasis>
63         Example : Retrieve from the main configuration file the status of the ask-for-confirmations:
64     </para>
65         <programlisting role="example"><![CDATA[
66 xmlGetValues("//general/confirmation-dialogs/body/tools/tool",["id" "state"])
67      ]]></programlisting>
68     <screen><![CDATA[
69 --> xmlGetValues("//general/confirmation-dialogs/body/tools/tool",["id" "state"])
70  ans  =
71 !console-exit         unchecked  !
72 !delete-history-item  unchecked  !
73 !console-clear        unchecked  !
74 ]]></screen>
75     </refsection>
76     <refsection role="see also">
77         <title>参照</title>
78         <simplelist type="inline">
79             <member>
80                 <link linkend="xmlGetValues">xmlGetValues</link>
81             </member>
82             <member>
83                 <link linkend="ieee">ieee</link>
84             </member>
85             <member>
86                 <link linkend="format">format</link>
87             </member>
88             <member>
89                 <link linkend="lines">lines</link>
90             </member>
91             <member>
92                 <link linkend="mode">mode</link>
93             </member>
94             <member>
95                 <link linkend="funcprot">funcprot</link>
96             </member>
97             <member>
98                 <link linkend="setdefaultlanguage">setdefaultlanguage</link>
99             </member>
100             <member>
101                 <link linkend="setlookandfeel">setlookandfeel</link>
102             </member>
103             <member>
104                 <link linkend="printsetupbox">printsetupbox</link>
105             </member>
106             <member>
107                 <link linkend="recursionlimit">recursionlimit</link>
108             </member>
109             <member>
110                 <link linkend="odeoptions">odeoptions</link>
111             </member>
112             <member>
113                 <link linkend="csvDefault">csvDefault</link>
114             </member>
115             <member>
116                 <link linkend="xlfont">xlfont</link>
117             </member>
118             <member>
119                 <link linkend="startup">startup</link>
120             </member>
121             <member>
122                 <link linkend="atomsGetConfig">atomsGetConfig</link>
123             </member>
124         </simplelist>
125     </refsection>
126     <refsection role="history">
127         <title>履歴</title>
128         <revhistory>
129             <revision>
130                 <revnumber>5.4.0</revnumber>
131                 <revdescription>
132                     Function introduced
133                 </revdescription>
134             </revision>
135         </revhistory>
136     </refsection>
137 </refentry>