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
|
<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>Dillo: dw::core::ui Namespace Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="https://www.dillo.org/dw/html/jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Dillo
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="namespaces.html"><span>Namespace List</span></a></li>
<li><a href="namespacemembers.html"><span>Namespace Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacedw.html">dw</a></li><li class="navelem"><a class="el" href="namespacedw_1_1core.html">core</a></li><li class="navelem"><a class="el" href="namespacedw_1_1core_1_1ui.html">ui</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="namespacedw_1_1core_1_1ui.html#nested-classes">Classes</a> </div>
<div class="headertitle">
<div class="title">dw::core::ui Namespace Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Anything related to embedded UI widgets is defined here.
<a href="namespacedw_1_1core_1_1ui.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1ui_1_1ButtonResource.html">ButtonResource</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1ui_1_1CheckButtonResource.html">CheckButtonResource</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1ui_1_1ComplexButtonResource.html">ComplexButtonResource</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1ui_1_1Embed.html">Embed</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A widget for embedding UI widgets. <a href="classdw_1_1core_1_1ui_1_1Embed.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1ui_1_1EntryResource.html">EntryResource</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1ui_1_1LabelButtonResource.html">LabelButtonResource</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Interface for labelled buttons resources. <a href="classdw_1_1core_1_1ui_1_1LabelButtonResource.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1ui_1_1ListResource.html">ListResource</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1ui_1_1MultiLineTextResource.html">MultiLineTextResource</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1ui_1_1OptionMenuResource.html">OptionMenuResource</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1ui_1_1RadioButtonResource.html">RadioButtonResource</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1ui_1_1Resource.html">Resource</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Basic interface for all resources. <a href="classdw_1_1core_1_1ui_1_1Resource.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1ui_1_1ResourceFactory.html">ResourceFactory</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A factory for the common resource. <a href="classdw_1_1core_1_1ui_1_1ResourceFactory.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1ui_1_1SelectionResource.html">SelectionResource</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Base interface for <a class="el" href="classdw_1_1core_1_1ui_1_1ListResource.html">dw::core::ui::ListResource</a> and <a class="el" href="classdw_1_1core_1_1ui_1_1OptionMenuResource.html">dw::core::ui::OptionMenuResource</a>. <a href="classdw_1_1core_1_1ui_1_1SelectionResource.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1ui_1_1TextResource.html">TextResource</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classdw_1_1core_1_1ui_1_1ToggleButtonResource.html">ToggleButtonResource</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Anything related to embedded UI widgets is defined here. </p>
<p>UI resources are another abstraction for Dw widgets, which are not fully implemented in a platform-independent way. Typically, they involve creating widgets, which the underlying UI toolkit provides.</p>
<p>As you see in this diagram:</p>
<div align="center">
<img src="dot_inline_dotgraph_17.png" alt="dot_inline_dotgraph_17.png" border="0" usemap="#dot_inline_dotgraph_17.map"/>
<map name="dot_inline_dotgraph_17.map" id="dot_inline_dotgraph_17.map"><area shape="rect" id="node1" href="classdw_1_1core_1_1ui_1_1Embed.html" title="\N" alt="" coords="239,149,311,199"/><area shape="rect" id="node2" href="classdw_1_1core_1_1ui_1_1Resource.html" title="\N" alt="" coords="235,247,314,296"/><area shape="rect" id="node3" href="classdw_1_1core_1_1ui_1_1LabelButtonResource.html" title="\N" alt="" coords="49,344,196,393"/><area shape="rect" id="node4" href="classdw_1_1core_1_1ui_1_1EntryResource.html" title="\N" alt="" coords="220,344,329,393"/><area shape="rect" id="node7" href="classdw_1_1fltk_1_1ui_1_1FltkLabelButtonResource.html" title="\N" alt="" coords="27,461,197,511"/><area shape="rect" id="node8" href="classdw_1_1fltk_1_1ui_1_1FltkEntryResource.html" title="\N" alt="" coords="221,461,352,511"/><area shape="rect" id="node6" href="classdw_1_1core_1_1Widget.html" title="\N" alt="" coords="239,52,311,101"/></map>
</div>
<center>[<a class="el" href="uml-legend.html">legend</a>]</center><p>there are several levels:</p>
<ol>
<li>
<p class="startli">The Dw widget is <a class="el" href="classdw_1_1core_1_1ui_1_1Embed.html" title="A widget for embedding UI widgets. ">dw::core::ui::Embed</a>. It delegates most to <a class="el" href="classdw_1_1core_1_1ui_1_1Resource.html" title="Basic interface for all resources. ">dw::core::ui::Resource</a>, which has similar methods like <a class="el" href="classdw_1_1core_1_1Widget.html" title="The base class of all dillo widgets. ">dw::core::Widget</a>.</p>
<p class="endli"></p>
</li>
<li>
<p class="startli">There are several sub interfaces of <a class="el" href="classdw_1_1core_1_1ui_1_1Resource.html" title="Basic interface for all resources. ">dw::core::ui::Resource</a>, which may provide methods, as e.g. <a class="el" href="classdw_1_1core_1_1ui_1_1SelectionResource.html#a8c855fe002f0853444849e0876c7ba9c">dw::core::ui::ListResource::addItem</a>. In a platform independent context, you can cast the result of <a class="el" href="classdw_1_1core_1_1ui_1_1Embed.html#a58f70c8544f86da8679189eaa62af856">dw::core::ui::Embed::getResource</a> to a specific sub class, if you know, which one is used. E.g., if you know, that a given instance <a class="el" href="classdw_1_1core_1_1ui_1_1Embed.html" title="A widget for embedding UI widgets. ">dw::core::ui::Embed</a> refers to a <a class="el" href="classdw_1_1core_1_1ui_1_1ListResource.html">dw::core::ui::ListResource</a>, you can write something like:</p>
<div class="fragment"><div class="line"><a class="code" href="classdw_1_1core_1_1ui_1_1Embed.html">dw::core::ui::Embed</a> *embed;</div>
<div class="line"><span class="comment">//...</span></div>
<div class="line">((<a class="code" href="classdw_1_1core_1_1ui_1_1ListResource.html">dw::core::ui::ListResource</a>*)embed-><a class="code" href="classdw_1_1core_1_1ui_1_1Embed.html#a58f70c8544f86da8679189eaa62af856">getResource</a> ())->addItem (<span class="stringliteral">"Hello!"</span>);</div>
</div><!-- fragment --><p class="endli"></p>
</li>
<li>
These sub classes are then fully implemented in a platform specific way. For an example, look at <a class="el" href="namespacedw_1_1fltk_1_1ui.html" title="FLTK implementation of dw::core::ui. ">dw::fltk::ui</a>. </li>
</ol>
<p>There is a factory interface, <a class="el" href="classdw_1_1core_1_1ui_1_1ResourceFactory.html" title="A factory for the common resource. ">dw::core::ui::ResourceFactory</a>, which provides methods for creating common resources. By calling <a class="el" href="classdw_1_1core_1_1Layout.html#ae393bf06cfe5932cf560706d4751eaf4">dw::core::Layout::getResourceFactory</a>, which calls <a class="el" href="classdw_1_1core_1_1Platform.html#af5a8ce70b8e93e4442d4a024ea15a8e2">dw::core::Platform::getResourceFactory</a>, you get the factory for the used platform.</p>
<p>It is possible to define additional sub classes of <a class="el" href="classdw_1_1core_1_1ui_1_1Resource.html" title="Basic interface for all resources. ">dw::core::ui::Resource</a>, but since they are not provided by <a class="el" href="classdw_1_1core_1_1ui_1_1ResourceFactory.html" title="A factory for the common resource. ">dw::core::ui::ResourceFactory</a>, you have to define some other abstractions, if you want to remain platform independent.</p>
<h3>...</h3>
<h3>Resouces needed for HTML</h3>
<p>This chapter describes, how the form controls defined by HTML are implemented in Dw. Some of them do not refer to UI resources, but to other widgets, links to the respective documentations are provided here.</p>
<h4>Resouces created with <INPUT></h4>
<p>The HTML <INPUT> is always implemented by using UI resources. <INPUT> element has the following attributes:</p>
<table class="doxtable">
<tr>
<th>Attribute </th><th>Implementation </th></tr>
<tr>
<td>type </td><td>This defines the resource you have to instantiate. </td></tr>
<tr>
<td>name </td><td>Not needed within Dw. </td></tr>
<tr>
<td>value </td><td>The initial value is treated differently by different resources. </td></tr>
<tr>
<td>checked </td><td>Parameter to <a class="el" href="classdw_1_1core_1_1ui_1_1ResourceFactory.html#a954d1f470913bb9dd0e199f06730df88">dw::core::ui::ResourceFactory::createCheckButtonResource</a> and <a class="el" href="classdw_1_1core_1_1ui_1_1ResourceFactory.html#a31dc374bba8e1fba705081c582bbd568">dw::core::ui::ResourceFactory::createRadioButtonResource</a>. </td></tr>
<tr>
<td>disabled </td><td>This is provided for all resources by <a class="el" href="classdw_1_1core_1_1ui_1_1Resource.html#a05af3b016712e80cc9b6f07c27f4465f">dw::core::ui::Resource::setEnabled</a>. </td></tr>
<tr>
<td>readonly </td><td>This is provided by <a class="el" href="classdw_1_1core_1_1ui_1_1TextResource.html#aceac9967e9df1af804c66ca7434f6386">dw::core::ui::TextResource::setEditable</a>. </td></tr>
<tr>
<td>size </td><td>This is handled by styles. </td></tr>
<tr>
<td>maxlength </td><td>Parameter of <a class="el" href="classdw_1_1core_1_1ui_1_1ResourceFactory.html#a81810089ba17d0c06a5d8a38eb7383c3">dw::core::ui::ResourceFactory::createEntryResource</a>. </td></tr>
<tr>
<td>src </td><td>Handled by the caller (HTML parser). </td></tr>
<tr>
<td>alt </td><td>Handled by the caller (HTML parser). </td></tr>
<tr>
<td>usemap </td><td>Handled by the caller (HTML parser). </td></tr>
<tr>
<td>ismap </td><td>Handled by the caller (HTML parser). </td></tr>
<tr>
<td>tabindex </td><td>Not supported currently. </td></tr>
<tr>
<td>accesskey </td><td>Not supported currently. </td></tr>
<tr>
<td>onfocus </td><td>Not supported currently. </td></tr>
<tr>
<td>onblur </td><td>Not supported currently. </td></tr>
<tr>
<td>onselect </td><td>Not supported currently. </td></tr>
<tr>
<td>onchange </td><td>Not supported currently. </td></tr>
<tr>
<td>accept </td><td>Not supported currently. </td></tr>
</table>
<p>For the different values of <em>type</em>, the following resources can be used:</p>
<table class="doxtable">
<tr>
<th>Type </th><th><a class="el" href="classdw_1_1core_1_1ui_1_1Resource.html" title="Basic interface for all resources. ">Resource</a> </th><th>Factory Method </th></tr>
<tr>
<td>text </td><td><a class="el" href="classdw_1_1core_1_1ui_1_1EntryResource.html">dw::core::ui::EntryResource</a> </td><td><a class="el" href="classdw_1_1core_1_1ui_1_1ResourceFactory.html#a81810089ba17d0c06a5d8a38eb7383c3">dw::core::ui::ResourceFactory::createEntryResource</a> </td></tr>
<tr>
<td>password </td><td><a class="el" href="classdw_1_1core_1_1ui_1_1EntryResource.html">dw::core::ui::EntryResource</a> </td><td><a class="el" href="classdw_1_1core_1_1ui_1_1ResourceFactory.html#a81810089ba17d0c06a5d8a38eb7383c3">dw::core::ui::ResourceFactory::createEntryResource</a> </td></tr>
<tr>
<td>checkbox </td><td><a class="el" href="classdw_1_1core_1_1ui_1_1CheckButtonResource.html">dw::core::ui::CheckButtonResource</a> </td><td><a class="el" href="classdw_1_1core_1_1ui_1_1ResourceFactory.html#a954d1f470913bb9dd0e199f06730df88">dw::core::ui::ResourceFactory::createCheckButtonResource</a> </td></tr>
<tr>
<td>radio </td><td><a class="el" href="classdw_1_1core_1_1ui_1_1RadioButtonResource.html">dw::core::ui::RadioButtonResource</a> </td><td><a class="el" href="classdw_1_1core_1_1ui_1_1ResourceFactory.html#a31dc374bba8e1fba705081c582bbd568">dw::core::ui::ResourceFactory::createRadioButtonResource</a> </td></tr>
<tr>
<td>submit </td><td><a class="el" href="classdw_1_1core_1_1ui_1_1LabelButtonResource.html" title="Interface for labelled buttons resources. ">dw::core::ui::LabelButtonResource</a> </td><td><a class="el" href="classdw_1_1core_1_1ui_1_1ResourceFactory.html#a79624d95c412ede16e06b4fb4aa7fcdf">dw::core::ui::ResourceFactory::createLabelButtonResource</a> </td></tr>
<tr>
<td>image </td><td><a class="el" href="classdw_1_1core_1_1ui_1_1ComplexButtonResource.html">dw::core::ui::ComplexButtonResource</a> </td><td><a class="el" href="classdw_1_1core_1_1ui_1_1ResourceFactory.html#abc5a31fe26a5657c4b3a9e936e6f16d0">dw::core::ui::ResourceFactory::createComplexButtonResource</a>, width a <a class="el" href="classdw_1_1Image.html" title="Displays an instance of dw::core::Imgbuf. ">dw::Image</a> inside and relief = false. </td></tr>
<tr>
<td>reset </td><td><a class="el" href="classdw_1_1core_1_1ui_1_1LabelButtonResource.html" title="Interface for labelled buttons resources. ">dw::core::ui::LabelButtonResource</a> </td><td><a class="el" href="classdw_1_1core_1_1ui_1_1ResourceFactory.html#a79624d95c412ede16e06b4fb4aa7fcdf">dw::core::ui::ResourceFactory::createLabelButtonResource</a> </td></tr>
<tr>
<td>button </td><td><a class="el" href="classdw_1_1core_1_1ui_1_1LabelButtonResource.html" title="Interface for labelled buttons resources. ">dw::core::ui::LabelButtonResource</a> </td><td><a class="el" href="classdw_1_1core_1_1ui_1_1ResourceFactory.html#a79624d95c412ede16e06b4fb4aa7fcdf">dw::core::ui::ResourceFactory::createLabelButtonResource</a> </td></tr>
<tr>
<td>hidden </td><td>No rendering necessary. </td><td>- </td></tr>
<tr>
<td>file </td><td>Not supported currently. </td><td>- </td></tr>
</table>
<h4><SELECT>, <OPTGROUP>, and <OPTION></h4>
<p><SELECT> is implemented either by <a class="el" href="classdw_1_1core_1_1ui_1_1OptionMenuResource.html">dw::core::ui::OptionMenuResource</a> (better suitable for <em>size</em> = 1 and single selection) or <a class="el" href="classdw_1_1core_1_1ui_1_1ListResource.html">dw::core::ui::ListResource</a>, which have a common base, <a class="el" href="classdw_1_1core_1_1ui_1_1SelectionResource.html" title="Base interface for dw::core::ui::ListResource and dw::core::ui::OptionMenuResource. ">dw::core::ui::SelectionResource</a>. In the latter case, <em>size</em> must be specified via <a class="el" href="classdw_1_1core_1_1style_1_1Style.html">dw::core::style::Style</a>.</p>
<p>Factory methods are <a class="el" href="classdw_1_1core_1_1ui_1_1ResourceFactory.html#ae6e8d7773bcad758668ab46b6c20394a">dw::core::ui::ResourceFactory::createListResource</a> and <a class="el" href="classdw_1_1core_1_1ui_1_1ResourceFactory.html#a9d8dea1facb3e5cc5667d2e74b788e2b">dw::core::ui::ResourceFactory::createOptionMenuResource</a>.</p>
<p><OPTION>'s are added via <a class="el" href="classdw_1_1core_1_1ui_1_1SelectionResource.html#a8c855fe002f0853444849e0876c7ba9c">dw::core::ui::SelectionResource::addItem</a>.</p>
<p><OPTGROUP> are created by using <a class="el" href="classdw_1_1core_1_1ui_1_1SelectionResource.html#a38485fe1c2ae3e8cf81b73f1d47390db">dw::core::ui::SelectionResource::pushGroup</a> and <a class="el" href="classdw_1_1core_1_1ui_1_1SelectionResource.html#ac777a4960fcc4fbd0726571880c0c59b">dw::core::ui::SelectionResource::popGroup</a>.</p>
<p>For lists, the selection mode must be set in <a class="el" href="classdw_1_1core_1_1ui_1_1ResourceFactory.html#ae6e8d7773bcad758668ab46b6c20394a">dw::core::ui::ResourceFactory::createListResource</a>.</p>
<h4><TEXTAREA></h4>
<p><TEXTAREA> is implemented by <a class="el" href="classdw_1_1core_1_1ui_1_1MultiLineTextResource.html">dw::core::ui::MultiLineTextResource</a>, the factory method is <a class="el" href="classdw_1_1core_1_1ui_1_1ResourceFactory.html#a9d1349f0667d25187366f0bfbfe3d6d6">dw::core::ui::ResourceFactory::createMultiLineTextResource</a>. <a class="el" href="classdw_1_1core_1_1ui_1_1TextResource.html#aceac9967e9df1af804c66ca7434f6386">dw::core::ui::TextResource::setEditable</a> can be used, as for entries.</p>
<h4><BUTTON></h4>
<p>For handling <BUTTON>, <a class="el" href="classdw_1_1core_1_1ui_1_1ComplexButtonResource.html">dw::core::ui::ComplexButtonResource</a> should be used, with a <a class="el" href="classdw_1_1Textblock.html" title="A Widget for rendering text blocks, i.e. paragraphs or sequences of paragraphs. ">dw::Textblock</a> inside, and relief = true. The contents of <BUTTON> is then added to the <a class="el" href="classdw_1_1Textblock.html" title="A Widget for rendering text blocks, i.e. paragraphs or sequences of paragraphs. ">dw::Textblock</a>.</p>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000031">Todo:</a></b></dt><dd>describe activation signal </dd></dl>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat May 28 2016 11:47:45 for Dillo by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>
|