1 <?xml version="1.0" encoding="UTF-8"?>
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
5 * Copyright (C) 2012 - 2016 - Scilab Enterprises
6 * Copyright (C) 2019 - Samuel GOUGEON
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.
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:ns3="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="uimenu_properties" xml:lang="ja">
21 <refname>uimenuプロパティ</refname>
22 <refpurpose>uimenuプロパティの説明.</refpurpose>
26 <para>このページはScilab GUIのメニューで利用可能な全プロパティの
30 これらのプロパティは <link linkend="uimenu">uimenu</link>
34 これらの値は <link linkend="set">set</link> 関数により変更でき,
35 <link linkend="get">get</link> 関数により読み込めます.
46 メニューが有効な場合にScilabインタプリタにより
48 Mac OSXでは,"button menu"(子のないメニュー)の場合に
55 <term>Callback_Type</term>
58 Scalar. Integer code setting the way the callback string must be
59 interpreted to perform the action:
64 <td>callback disabled.</td>
69 (default) non prioritary (or interruptible) Scilab instructions.
70 Example: .callback = "help(""uimenu"")"
75 <td>Fortran function</td>
79 <td>non prioritary (or interruptible) Scilab function.</td>
84 Java reference. Example:
85 .callback = "org.scilab.modules.gui.editor.EditorManager.start([SCILAB_FIGURE_ID])"
90 <td>prioritary (or non-interruptible) Scilab instructions.</td>
94 <td>prioritary (or non-interruptible) Scilab function</td>
103 <para>on | {off}</para>
108 この要素のラベルの先頭にチェックボックスが
110 "off"を指定するとチェックボックスは表示されたままで
112 このプロパティは特定のオプションの状態を示す
118 作成後にチェックボックスを削除する手段はありませんが,
122 デフォルトで,対話的にチェックをしたり,チェックを外すことは
124 このような処理はCallbackプロパティにより実装できます.
127 このプロパティは親メニューでは無視されます.
134 <term>Children</term>
136 <para>vector of handles</para>
138 If the current uimenu item is a menu listing subitems, their handles are
139 gathered in this Children property. All of them should be of type "uimenu".
140 Otherwise, .Children is the empty matrix [].
147 <para>{on} | off</para>
150 このプロパティに <literal>"on"</literal> (デフォルト)
152 このプロパティに<literal>"off"</literal>を
153 指定した場合,メニューはマウスのアクションに反応せず,
159 <term>ForegroundColor</term>
161 <para>[1 3] 実数ベクトルまたは文字列</para>
164 色は赤,緑および青の値として指定されます.
166 色は実数ベクトル,すなわち [R,G,B]または
168 各値を "|" で区切った文字列で指定できます.
173 <term>Handle_visible</term>
175 <para>on | {off}</para>
177 Setting it to "on" forces the uimenu handle to be visible in the list of
178 its parent children, even if get(0).showhiddenhandles == "off".
181 Setting it to "off" does NOT force it to be hidden:
182 get(0).showhiddenhandles == "on" is stronger.
191 このプロパティは,メニューのアイコンとして使用される画像ファイルの
192 (<link linkend="pwd">Scilabワーキングディレクトリ</link>に対する)
202 このプロパティはメニューに表示するテキストを表します.
203 テキストが2つの $ (ドル記号)で括られた場合,
205 < および > で括られた場合, MathML式とみなされます.
208 If the text value starts with <literal><html></literal>, then
209 all HTML-4 tags used in the label afterward are interpreted.
210 This allows for instance to use HTML styling tags like <b>..</>
211 for bold, <span color="red">..</span> to use a red font, etc.
221 一般にメニューを特定する際に使用されます.
222 これにより"名前"を指定することができます.
223 主に<literal>findobj()</literal>で指定する
229 <term>User_data</term>
231 <para>Any type of data</para>
233 This property can be used to store any scilab user or application data.
234 In order to be easily extensible and portable, using a structure with
235 fields is advised. [] is set by default.
242 <para>{on} | off</para>
245 このプロパティに<literal>"on"</literal>(デフォルト)が
246 設定された場合, uimenuは可視となりますが,
247 このプロパティに<literal>"off"</literal>が指定された場合,
254 <refsection role="see also">
256 <simplelist type="inline">
258 <link linkend="uimenu">uimenu</link>
261 <link linkend="uicontextmenu">uicontextmenu</link>
264 <link linkend="uicontrol">uicontrol</link>
267 <link linkend="console_properties">showHiddenHandles</link>
270 <link linkend="set">set</link>
273 <link linkend="math_rendering_features_in_graphic">LaTeX および MathML</link>
281 <revnumber>5.4.0</revnumber>
283 <literal>Handle_visible</literal> property added.
287 <revnumber>5.5.0</revnumber>
289 <literal>Icon</literal> プロパティが追加されました.