File: classWt_1_1WTree.html

package info (click to toggle)
witty 3.2.1-2%2Bdeb7u1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 70,436 kB
  • sloc: cpp: 117,095; ansic: 77,999; xml: 7,564; sh: 1,037; perl: 208; makefile: 144; java: 86; sql: 14
file content (275 lines) | stat: -rw-r--r-- 22,675 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Wt: Wt::WTree Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Wt
   &#160;<span id="projectnumber">3.2.1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceWt.html">Wt</a>      </li>
      <li class="navelem"><a class="el" href="classWt_1_1WTree.html">WTree</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">Wt::WTree Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Wt::WTree" --><!-- doxytag: inherits="Wt::WCompositeWidget" -->
<p>A widget that represents a navigatable tree.  
 <a href="classWt_1_1WTree.html#details">More...</a></p>

<p><code>#include &lt;Wt/WTree&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Wt::WTree:</div>
<div class="dyncontent">
<div class="center"><img src="classWt_1_1WTree__inherit__graph.png" border="0" usemap="#Wt_1_1WTree_inherit__map" alt="Inheritance graph"/></div>
<map name="Wt_1_1WTree_inherit__map" id="Wt_1_1WTree_inherit__map">
<area shape="rect" href="classWt_1_1WCompositeWidget.html" title="A widget that hides the implementation of composite widgets." alt="" coords="5,155,168,181"/><area shape="rect" href="classWt_1_1WWidget.html" title="The abstract base class for a user&#45;interface component." alt="" coords="37,80,136,107"/><area shape="rect" href="classWt_1_1WObject.html" title="A base class for objects that participate in the signal/slot system." alt="" coords="39,5,135,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classWt_1_1WTree-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2308f07ae7dfb959360ad1bdcf394e44"></a><!-- doxytag: member="Wt::WTree::WTreeNodeSet" ref="a2308f07ae7dfb959360ad1bdcf394e44" args="" -->
typedef std::set&lt; <a class="el" href="classWt_1_1WTreeNode.html">WTreeNode</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTree.html#a2308f07ae7dfb959360ad1bdcf394e44">WTreeNodeSet</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Typedef for a set of WTreeNode's. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0814258c8147d68000402468016f9817"></a><!-- doxytag: member="Wt::WTree::WTree" ref="a0814258c8147d68000402468016f9817" args="(WContainerWidget *parent=0)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTree.html#a0814258c8147d68000402468016f9817">WTree</a> (<a class="el" href="classWt_1_1WContainerWidget.html">WContainerWidget</a> *parent=0)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new tree. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTree.html#a040f5fa4df57cbfb586d686ffe1326d0">setTreeRoot</a> (<a class="el" href="classWt_1_1WTreeNode.html">WTreeNode</a> *root)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the tree root node.  <a href="#a040f5fa4df57cbfb586d686ffe1326d0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWt_1_1WTreeNode.html">WTreeNode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTree.html#a54de80f955e54acbab38a344546ce0bf">treeRoot</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the root node.  <a href="#a54de80f955e54acbab38a344546ce0bf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTree.html#a7270f705ad5f9be1e2bee06a73348a9a">setSelectionMode</a> (<a class="el" href="namespaceWt.html#a74b3f7eb1689a3cbf0ea514ffd20bccc">SelectionMode</a> mode)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the selection mode.  <a href="#a7270f705ad5f9be1e2bee06a73348a9a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afcc60067220a91ce69dde46ea413afc5"></a><!-- doxytag: member="Wt::WTree::selectionMode" ref="afcc60067220a91ce69dde46ea413afc5" args="() const " -->
<a class="el" href="namespaceWt.html#a74b3f7eb1689a3cbf0ea514ffd20bccc">SelectionMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTree.html#afcc60067220a91ce69dde46ea413afc5">selectionMode</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the selection mode. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7d415764d1fce3d4c9d33713892c0ef9"></a><!-- doxytag: member="Wt::WTree::selectedNodes" ref="a7d415764d1fce3d4c9d33713892c0ef9" args="() const " -->
const <a class="el" href="classWt_1_1WTree.html#a2308f07ae7dfb959360ad1bdcf394e44">WTreeNodeSet</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTree.html#a7d415764d1fce3d4c9d33713892c0ef9">selectedNodes</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the set of selected tree nodes. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9e09dff326743004dc9f2bf27408551a"></a><!-- doxytag: member="Wt::WTree::select" ref="a9e09dff326743004dc9f2bf27408551a" args="(const WTreeNodeSet &amp;nodes)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTree.html#a9e09dff326743004dc9f2bf27408551a">select</a> (const <a class="el" href="classWt_1_1WTree.html#a2308f07ae7dfb959360ad1bdcf394e44">WTreeNodeSet</a> &amp;nodes)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a selection of tree nodes. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a52c770a65ac3f4c2493f714271a5133a"></a><!-- doxytag: member="Wt::WTree::select" ref="a52c770a65ac3f4c2493f714271a5133a" args="(WTreeNode *node, bool selected=true)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTree.html#a52c770a65ac3f4c2493f714271a5133a">select</a> (<a class="el" href="classWt_1_1WTreeNode.html">WTreeNode</a> *node, bool selected=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Selects or unselect the given <em>node</em>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3969fd0bab17347bb32727dba2ff9682"></a><!-- doxytag: member="Wt::WTree::isSelected" ref="a3969fd0bab17347bb32727dba2ff9682" args="(WTreeNode *node) const " -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTree.html#a3969fd0bab17347bb32727dba2ff9682">isSelected</a> (<a class="el" href="classWt_1_1WTreeNode.html">WTreeNode</a> *node) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns if the given <em>node</em> is currently selected. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a14a781edeb90b3040a5e09238290514e"></a><!-- doxytag: member="Wt::WTree::clearSelection" ref="a14a781edeb90b3040a5e09238290514e" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTree.html#a14a781edeb90b3040a5e09238290514e">clearSelection</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the current selection. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a103603f639e07f83d1a75e293b70966d"></a><!-- doxytag: member="Wt::WTree::itemSelectionChanged" ref="a103603f639e07f83d1a75e293b70966d" args="()" -->
<a class="el" href="classWt_1_1Signal.html">Signal</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTree.html#a103603f639e07f83d1a75e293b70966d">itemSelectionChanged</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal that is emitted when the selection changes. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A widget that represents a navigatable tree. </p>
<p>WTree provides a tree widget, and coordinates selection functionality.</p>
<p>Unlike the MVC-based <a class="el" href="classWt_1_1WTreeView.html" title="A view class that displays a model as a tree or tree table.">WTreeView</a>, the tree renders a widget hierarchy, rather than a hierarhical standard model. This provides extra flexibility (as any widget can be used as contents), at the cost of server-side, client-side and bandwidth resources (especially for large tree tables).</p>
<p>The tree is implemented as a hierarchy of <a class="el" href="classWt_1_1WTreeNode.html" title="A single node in a tree.">WTreeNode</a> widgets.</p>
<p>Selection is rendered by calling <a class="el" href="classWt_1_1WTreeNode.html#ae4bb84bf91002f80941d2e890cab12cd" title="Renders the node to be selected.">WTreeNode::renderSelected(bool)</a>. Only tree nodes that are <a class="el" href="classWt_1_1WTreeNode.html#a60428cfc48b2a39550efc308b38406b2">selectable</a> may participate in the selection.</p>
<p>Usage example: </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classWt_1_1WIconPair.html" title="A widget that shows one of two icons depending on its state.">Wt::WIconPair</a> *folderIcon = <span class="keyword">new</span> <a class="code" href="classWt_1_1WIconPair.html" title="A widget that shows one of two icons depending on its state.">Wt::WIconPair</a>(<span class="stringliteral">&quot;icons/yellow-folder-closed.png&quot;</span>,
                                               <span class="stringliteral">&quot;icons/yellow-folder-open.png&quot;</span>, <span class="keyword">false</span>);

 <a class="code" href="classWt_1_1WTree.html" title="A widget that represents a navigatable tree.">Wt::WTree</a> *tree = <span class="keyword">new</span> <a class="code" href="classWt_1_1WTree.html#a0814258c8147d68000402468016f9817" title="Creates a new tree.">Wt::WTree</a>();
 tree-&gt;<a class="code" href="classWt_1_1WTree.html#a7270f705ad5f9be1e2bee06a73348a9a" title="Sets the selection mode.">setSelectionMode</a>(<a class="code" href="namespaceWt.html#a74b3f7eb1689a3cbf0ea514ffd20bccca4fd3c5ba6ce5289a1e732d85f002882a" title="Single selection only.">Wt::SingleSelection</a>);

 <a class="code" href="classWt_1_1WTreeNode.html" title="A single node in a tree.">Wt::WTreeNode</a> *root = <span class="keyword">new</span> <a class="code" href="classWt_1_1WTreeNode.html" title="A single node in a tree.">Wt::WTreeNode</a>(<span class="stringliteral">&quot;Tree root&quot;</span>, folderIcon);
 root-&gt;<a class="code" href="classWt_1_1WCompositeWidget.html#af9a8abf4e8b5be186a31cd951e60bdc6" title="Sets (one or more) CSS style classes.">setStyleClass</a>(<span class="stringliteral">&quot;example-tree&quot;</span>);
 tree-&gt;<a class="code" href="classWt_1_1WTree.html#a040f5fa4df57cbfb586d686ffe1326d0" title="Sets the tree root node.">setTreeRoot</a>(root);
 root-&gt;<a class="code" href="classWt_1_1WTreeNode.html#a32c24104359b595cbaf914e35accb3b4" title="Returns the label.">label</a>()-&gt;setTextFormat(<a class="code" href="namespaceWt.html#a140dea437d52d3d7c438ea3bd16a1480ae06bb9ae9a26d13c3dcf9f20d5067885" title="Format text as plain text.">Wt::PlainText</a>);
 root-&gt;<a class="code" href="classWt_1_1WTreeNode.html#aff37a6152a8195dd9b2a80e593d94298" title="Sets the image pack for this (sub)tree (deprecated).">setImagePack</a>(<span class="stringliteral">&quot;resources/&quot;</span>);
 root-&gt;<a class="code" href="classWt_1_1WTreeNode.html#aaf3d613cc461f4d9d39a71cd45bd155e" title="Sets the load policy for this tree.">setLoadPolicy</a>(<a class="code" href="classWt_1_1WTreeNode.html#a51c02b42c069e61a269fde598b9a1bffa387323cbdc8efd12ef6bf8553876c011" title="Pre-load one level of child nodes.">Wt::WTreeNode::NextLevelLoading</a>);
 root-&gt;<a class="code" href="classWt_1_1WTreeNode.html#adeb2bd7c946ef9c7bb5b72b3f88453a6" title="Adds a child node.">addChildNode</a>(<span class="keyword">new</span> <a class="code" href="classWt_1_1WTreeNode.html" title="A single node in a tree.">Wt::WTreeNode</a>(<span class="stringliteral">&quot;one&quot;</span>));
 root-&gt;<a class="code" href="classWt_1_1WTreeNode.html#adeb2bd7c946ef9c7bb5b72b3f88453a6" title="Adds a child node.">addChildNode</a>(<span class="keyword">new</span> <a class="code" href="classWt_1_1WTreeNode.html" title="A single node in a tree.">Wt::WTreeNode</a>(<span class="stringliteral">&quot;two&quot;</span>));

 <a class="code" href="classWt_1_1WTreeNode.html" title="A single node in a tree.">Wt::WTreeNode</a> *three = <span class="keyword">new</span> <a class="code" href="classWt_1_1WTreeNode.html" title="A single node in a tree.">Wt::WTreeNode</a>(<span class="stringliteral">&quot;three&quot;</span>);
 three-&gt;<a class="code" href="classWt_1_1WTreeNode.html#adeb2bd7c946ef9c7bb5b72b3f88453a6" title="Adds a child node.">addChildNode</a>(<span class="keyword">new</span> WTreeNode(<span class="stringliteral">&quot;three: one&quot;</span>));
 three-&gt;<a class="code" href="classWt_1_1WTreeNode.html#adeb2bd7c946ef9c7bb5b72b3f88453a6" title="Adds a child node.">addChildNode</a>(<span class="keyword">new</span> WTreeNode(<span class="stringliteral">&quot;three: two&quot;</span>));
 root-&gt;<a class="code" href="classWt_1_1WTreeNode.html#adeb2bd7c946ef9c7bb5b72b3f88453a6" title="Adds a child node.">addChildNode</a>(three);

 root-&gt;<a class="code" href="classWt_1_1WTreeNode.html#a10e99f9db96ec2fc500927a5d50caafe" title="Expands this node.">expand</a>();
</pre></div><h3>CSS</h3>
<p>The tree is styled by the current CSS theme. The look can be overridden using the <code>Wt-tree</code> CSS class. The style selectors that affect the rendering of the decoration of the nodes are indicated in the documentation for <a class="el" href="classWt_1_1WTreeNode.html" title="A single node in a tree.">WTreeNode</a>. In addition, the following selector may be used to style the header:</p>
<div class="fragment"><pre class="fragment">
.Wt-tree .Wt-selected : selected item
</pre></div><p>A screenshot of the tree: </p>
<table  border="0" align="center">
<tr>
<td><div class="image">
<img src="WTree-default-1.png" alt="WTree-default-1.png"/>
<div class="caption">
An example WTree (default)</div></div>
  </td><td><div class="image">
<img src="WTree-polished-1.png" alt="WTree-polished-1.png"/>
<div class="caption">
An example WTree (polished)</div></div>
   </td></tr>
</table>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WTreeNode.html" title="A single node in a tree.">WTreeNode</a>, <a class="el" href="classWt_1_1WTreeTable.html" title="A table with a navigatable tree in the first column.">WTreeTable</a>, <a class="el" href="classWt_1_1WTreeView.html" title="A view class that displays a model as a tree or tree table.">WTreeView</a> </dd></dl>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a7270f705ad5f9be1e2bee06a73348a9a"></a><!-- doxytag: member="Wt::WTree::setSelectionMode" ref="a7270f705ad5f9be1e2bee06a73348a9a" args="(SelectionMode mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WTree::setSelectionMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceWt.html#a74b3f7eb1689a3cbf0ea514ffd20bccc">SelectionMode</a>&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the selection mode. </p>
<p>The default selection mode is <a class="el" href="namespaceWt.html#a74b3f7eb1689a3cbf0ea514ffd20bcccab681964d34d71d850361461bafc46891" title="No selections.">Wt::NoSelection</a>. </p>

</div>
</div>
<a class="anchor" id="a040f5fa4df57cbfb586d686ffe1326d0"></a><!-- doxytag: member="Wt::WTree::setTreeRoot" ref="a040f5fa4df57cbfb586d686ffe1326d0" args="(WTreeNode *root)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WTree::setTreeRoot </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classWt_1_1WTreeNode.html">WTreeNode</a> *&#160;</td>
          <td class="paramname"><em>root</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the tree root node. </p>
<p>The initial value is <code>0</code>. </p>

</div>
</div>
<a class="anchor" id="a54de80f955e54acbab38a344546ce0bf"></a><!-- doxytag: member="Wt::WTree::treeRoot" ref="a54de80f955e54acbab38a344546ce0bf" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1WTreeNode.html">WTreeNode</a>* Wt::WTree::treeRoot </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the root node. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WTree.html#a040f5fa4df57cbfb586d686ffe1326d0" title="Sets the tree root node.">setTreeRoot()</a> </dd></dl>

</div>
</div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr size="1"><address style="text-align: right; margin: 3px"><small>
Generated on Fri Mar 30 2012 for <a href="http://www.webtoolkit.eu/wt">the
C++ Web Toolkit (Wt)</a> by&nbsp;<a
href="http://www.doxygen.org/index.html"><img src="doxygen.png"
alt="doxygen" border="0" style="vertical-align: middle; display:
inline-block; height: 2em"></a> 1.7.5.1</small></address>
</body>
</html>