1
1
<?xml version="1.0" encoding="UTF-8"?>
2
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:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="uiCreateNode">
4
<refname>uiCreateNode</refname>
5
<refpurpose> Creation of node (for Scilab Tree) </refpurpose>
8
<title>Calling Sequence</title>
9
<synopsis>myNode = uiCreateNode(label[, icon[, callback]])
13
<title>Input parameters</title>
18
<para>a string matrix which gives the label of the nodes.</para>
22
<term>icon (optional)</term>
24
<para>a string matrix which gives the icon image of the nodes.</para>
28
<term>callback (optional)</term>
30
<para>a string matrix which gives the callback instruction of the nodes.</para>
36
<title>Output parameters</title>
41
<para>a node of type Tree</para>
47
<title>Description</title>
48
<para>Creates a node(a node or a leaf) of type Tree.</para>
51
<title>Examples</title>
52
<programlisting role="example"><![CDATA[
4
<refname>uiCreateNode</refname>
5
<refpurpose> Creation of node (for Scilab Tree) </refpurpose>
8
<title>Calling Sequence</title>
9
<synopsis>myNode = uiCreateNode(label[, icon[, callback]])
13
<title>Input parameters</title>
18
<para>a string matrix which gives the label of the nodes.</para>
22
<term>icon (optional)</term>
24
<para>a string matrix which gives the icon image of the nodes.</para>
28
<term>callback (optional)</term>
30
<para>a string matrix which gives the callback instruction of the nodes.</para>
36
<title>Output parameters</title>
41
<para>a node of type Tree</para>
47
<title>Description</title>
48
<para>Creates a node(a node or a leaf) of type Tree.</para>
51
<title>Examples</title>
52
<programlisting role="example"><![CDATA[
53
53
leaf11 = uiCreateNode('leaf 1.1', 'iconLeaf1.1', 'callbackLeaf1.1')
54
54
leaf12 = uiCreateNode('leaf 1.2', 'iconLeaf1.2', 'callbackLeaf1.2')
55
55
leaf31 = uiCreateNode('leaf 3.1', 'iconLeaf3.1', 'callbackLeaf3.1')
59
59
node3 = uiCreateNode('Node 3', 'iconNode3', 'callbackNode3')
60
60
root = uiCreateNode('Root', 'iconRoot', 'callbackRoot')
61
61
]]></programlisting>
63
<refsection role="see also">
64
<title>See Also</title>
65
<simplelist type="inline">
67
<link linkend="uiCreateTree">uiCreateTree</link>
70
<link linkend="uiDisplayTree">uiDisplayTree</link>
73
<link linkend="uiDumpTree">uiDumpTree</link>
76
<link linkend="uiInsertNode">uiInsertNode</link>
79
<link linkend="uiDeleteNode">uiDeleteNode</link>
82
<link linkend="uiConcatTree">uiConcatTree</link>
85
<link linkend="uiEqualsTree">uiEqualsTree</link>
88
<link linkend="uiFindNode">uiFindNode</link>
91
<link linkend="uiGetParentNode">uiGetParentNode</link>
94
<link linkend="uiGetChildrenNode">uiGetChildrenNode</link>
97
<link linkend="uiGetNodePosition">uiGetNodePosition</link>
63
<refsection role="see also">
64
<title>See Also</title>
65
<simplelist type="inline">
67
<link linkend="uiCreateTree">uiCreateTree</link>
70
<link linkend="uiDisplayTree">uiDisplayTree</link>
73
<link linkend="uiDumpTree">uiDumpTree</link>
76
<link linkend="uiInsertNode">uiInsertNode</link>
79
<link linkend="uiDeleteNode">uiDeleteNode</link>
82
<link linkend="uiConcatTree">uiConcatTree</link>
85
<link linkend="uiEqualsTree">uiEqualsTree</link>
88
<link linkend="uiFindNode">uiFindNode</link>
91
<link linkend="uiGetParentNode">uiGetParentNode</link>
94
<link linkend="uiGetChildrenNode">uiGetChildrenNode</link>
97
<link linkend="uiGetNodePosition">uiGetNodePosition</link>