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 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342
|
<!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::WMessageBox 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
 <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 Page</span></a></li>
<li><a href="pages.html"><span>Related 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 List</span></a></li>
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class 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_1WMessageBox.html">WMessageBox</a> </li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> </div>
<div class="headertitle">
<div class="title">Wt::WMessageBox Class Reference</div> </div>
</div>
<div class="contents">
<!-- doxytag: class="Wt::WMessageBox" --><!-- doxytag: inherits="Wt::WDialog" -->
<p>A standard dialog for confirmation or to get simple user input.
<a href="classWt_1_1WMessageBox.html#details">More...</a></p>
<p><code>#include <Wt/WMessageBox></code></p>
<div class="dynheader">
Inheritance diagram for Wt::WMessageBox:</div>
<div class="dyncontent">
<div class="center"><img src="classWt_1_1WMessageBox__inherit__graph.png" border="0" usemap="#Wt_1_1WMessageBox_inherit__map" alt="Inheritance graph"/></div>
<map name="Wt_1_1WMessageBox_inherit__map" id="Wt_1_1WMessageBox_inherit__map">
<area shape="rect" href="classWt_1_1WDialog.html" title="A WDialog shows a dialog." alt="" coords="39,229,135,256"/><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-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_1WMessageBox-members.html">List of all members.</a></p>
<table class="memberdecls">
<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="a02fe68c3f577dad4438c85564418292f"></a><!-- doxytag: member="Wt::WMessageBox::WMessageBox" ref="a02fe68c3f577dad4438c85564418292f" args="()" -->
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageBox.html#a02fe68c3f577dad4438c85564418292f">WMessageBox</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates an empty message box. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa77b55235ca91e331c8574171caabfbb"></a><!-- doxytag: member="Wt::WMessageBox::WMessageBox" ref="aa77b55235ca91e331c8574171caabfbb" args="(const WString &caption, const WString &text, Icon icon, WFlags< StandardButton > buttons)" -->
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageBox.html#aa77b55235ca91e331c8574171caabfbb">WMessageBox</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &caption, const <a class="el" href="classWt_1_1WString.html">WString</a> &text, <a class="el" href="namespaceWt.html#aaa26ad9f143951595691fbd604567f5f">Icon</a> icon, WFlags< <a class="el" href="namespaceWt.html#a270a5e1af09979a6559f0f39e3d93062">StandardButton</a> > buttons)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a message box with given caption, text, icon, and buttons. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aef66b54dc12ec478e218d561880254e8"></a><!-- doxytag: member="Wt::WMessageBox::setText" ref="aef66b54dc12ec478e218d561880254e8" args="(const WString &text)" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageBox.html#aef66b54dc12ec478e218d561880254e8">setText</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &text)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the text for the message box. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1e1dffabe0d91e84f6f504ffb600c4a0"></a><!-- doxytag: member="Wt::WMessageBox::text" ref="a1e1dffabe0d91e84f6f504ffb600c4a0" args="() const " -->
const <a class="el" href="classWt_1_1WString.html">WString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageBox.html#a1e1dffabe0d91e84f6f504ffb600c4a0">text</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the message box text. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWt_1_1WText.html">WText</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageBox.html#ada70275e7f0d9fc067cd5a1c553a031f">textWidget</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the text widget. <a href="#ada70275e7f0d9fc067cd5a1c553a031f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a194dc23e212770e494d459f2426f9ae8"></a><!-- doxytag: member="Wt::WMessageBox::setIcon" ref="a194dc23e212770e494d459f2426f9ae8" args="(Icon icon)" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageBox.html#a194dc23e212770e494d459f2426f9ae8">setIcon</a> (<a class="el" href="namespaceWt.html#aaa26ad9f143951595691fbd604567f5f">Icon</a> icon)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the icon. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0ff9580eedf4a3e6b74f27eae71e23ff"></a><!-- doxytag: member="Wt::WMessageBox::icon" ref="a0ff9580eedf4a3e6b74f27eae71e23ff" args="() const " -->
<a class="el" href="namespaceWt.html#aaa26ad9f143951595691fbd604567f5f">Icon</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageBox.html#a0ff9580eedf4a3e6b74f27eae71e23ff">icon</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the icon. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWt_1_1WPushButton.html">WPushButton</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageBox.html#a9d07bb99d17c38128c79f9c7ecd42963">addButton</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &text, <a class="el" href="namespaceWt.html#a270a5e1af09979a6559f0f39e3d93062">StandardButton</a> result)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Add a custom button with given text. <a href="#a9d07bb99d17c38128c79f9c7ecd42963"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1757ee241b2df0045623a6bcad707dc6"></a><!-- doxytag: member="Wt::WMessageBox::setButtons" ref="a1757ee241b2df0045623a6bcad707dc6" args="(WFlags< StandardButton > buttons)" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageBox.html#a1757ee241b2df0045623a6bcad707dc6">setButtons</a> (WFlags< <a class="el" href="namespaceWt.html#a270a5e1af09979a6559f0f39e3d93062">StandardButton</a> > buttons)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets standard buttons for the message box. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a71c9a2cce4be7c3a5e33718c8ec924c1"></a><!-- doxytag: member="Wt::WMessageBox::buttons" ref="a71c9a2cce4be7c3a5e33718c8ec924c1" args="() const " -->
WFlags< <a class="el" href="namespaceWt.html#a270a5e1af09979a6559f0f39e3d93062">StandardButton</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageBox.html#a71c9a2cce4be7c3a5e33718c8ec924c1">buttons</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the standard buttons. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWt_1_1WPushButton.html">WPushButton</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageBox.html#a0e95f906d321b5c5cb574abc25716aec">button</a> (<a class="el" href="namespaceWt.html#a270a5e1af09979a6559f0f39e3d93062">StandardButton</a> b)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the button widget for the given standard button. <a href="#a0e95f906d321b5c5cb574abc25716aec"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceWt.html#a270a5e1af09979a6559f0f39e3d93062">StandardButton</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageBox.html#ac07ce4dd360c8305cdc1e08642e32a7c">buttonResult</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the result of this message box. <a href="#ac07ce4dd360c8305cdc1e08642e32a7c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae9d2caaa82244b2b195e9d3e011bc740"></a><!-- doxytag: member="Wt::WMessageBox::buttonClicked" ref="ae9d2caaa82244b2b195e9d3e011bc740" args="()" -->
<a class="el" href="classWt_1_1Signal.html">Signal</a>< <a class="el" href="namespaceWt.html#a270a5e1af09979a6559f0f39e3d93062">StandardButton</a> > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageBox.html#ae9d2caaa82244b2b195e9d3e011bc740">buttonClicked</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Signal emitted when a button is clicked. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespaceWt.html#a270a5e1af09979a6559f0f39e3d93062">StandardButton</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageBox.html#ab856f77f4e4369b5864390a1192c252d">show</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &caption, const <a class="el" href="classWt_1_1WString.html">WString</a> &text, WFlags< <a class="el" href="namespaceWt.html#a270a5e1af09979a6559f0f39e3d93062">StandardButton</a> > buttons, const <a class="el" href="classWt_1_1WAnimation.html">WAnimation</a> &animation=<a class="el" href="classWt_1_1WAnimation.html">WAnimation</a>())</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Convenience method to show a message box, blocking the current thread. <a href="#ab856f77f4e4369b5864390a1192c252d"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A standard dialog for confirmation or to get simple user input. </p>
<p>The messagebox shows a message in a dialog window, with a number of buttons. These buttons may be standard buttons, or customized.</p>
<p>A messagebox is (usually) modal, and can be instantiated synchronously or asynchronously.</p>
<p>When using a messagebox asynchronously, there is no API call that waits for the messagebox to be processed. Then, the usage is similar to instantiating a <a class="el" href="classWt_1_1WDialog.html" title="A WDialog shows a dialog.">WDialog</a> (or any other widget). You need to connect to the buttonClicked signal with a method that interpretes the result and deletes the message box.</p>
<p>The synchronous use of a messagebox involves the use of the static <a class="el" href="classWt_1_1WWidget.html#a52dcef5a385ddfa0a8c3e6c20000f181" title="Shows the widget.">show()</a> method, which blocks the current thread until the user has processed the messabebox. Since this uses the <a class="el" href="classWt_1_1WDialog.html#aca20cf1a63cf08402f4c03c943e0c968" title="Executes the dialog in a recursive event loop.">WDialog::exec()</a>, it suffers from the same scalability issues.</p>
<p>Example code (using the <a class="el" href="classWt_1_1WDialog.html#aca20cf1a63cf08402f4c03c943e0c968" title="Executes the dialog in a recursive event loop.">exec()</a> method): </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="namespaceWt.html#a270a5e1af09979a6559f0f39e3d93062" title="Enumeration that indicates a standard button.">StandardButton</a>
result = <a class="code" href="classWt_1_1WWidget.html#a52dcef5a385ddfa0a8c3e6c20000f181" title="Shows the widget.">WMessageBox::show</a>(<span class="stringliteral">"Confirm"</span>, <span class="stringliteral">"About to wreak havoc... Continue ?"</span>,
<a class="code" href="namespaceWt.html#a270a5e1af09979a6559f0f39e3d93062af92b793210df9123b9be1ee11dd0d36d" title="An OK button.">Ok</a> | <a class="code" href="namespaceWt.html#a270a5e1af09979a6559f0f39e3d93062ac31abea0685e68a0e116038d0ad48ca8" title="A Cancel button.">Cancel</a>);
</pre></div><p>This will show a message box that looks like this:</p>
<table border="0" align="center">
<tr>
<td><div class="image">
<img src="WMessageBox-default-1.png" alt="WMessageBox-default-1.png"/>
<div class="caption">
Example of a WMessageBox (default)</div></div>
</td><td><div class="image">
<img src="WMessageBox-polished-1.png" alt="WMessageBox-polished-1.png"/>
<div class="caption">
Example of a WMessageBox (polished)</div></div>
</td></tr>
</table>
<h3>i18n</h3>
<p>The strings used in the <a class="el" href="classWt_1_1WMessageBox.html" title="A standard dialog for confirmation or to get simple user input.">WMessageBox</a> buttons can be translated by overriding the default values for the following localization keys:</p>
<ul>
<li>Wt.WMessageBox.Abort: Abort</li>
<li>Wt.WMessageBox.Cancel: Cancel</li>
<li>Wt.WMessageBox.Ignore: Ignore</li>
<li>Wt.WMessageBox.No: No</li>
<li>Wt.WMessageBox.NoToAll: No to All</li>
<li>Wt.WMessageBox.Ok: Ok</li>
<li>Wt.WMessageBox.Retry: Retry</li>
<li>Wt.WMessageBox.Yes: Yes</li>
<li>Wt.WMessageBox.YesToAll: Yes to All</li>
</ul>
<h3>CSS</h3>
<p>A <a class="el" href="classWt_1_1WMessageBox.html" title="A standard dialog for confirmation or to get simple user input.">WMessageBox</a> can be styled using the <code>Wt-dialog</code> and <code>Wt-outset</code> style classes from it's superclass <a class="el" href="classWt_1_1WDialog.html" title="A WDialog shows a dialog.">WDialog</a>. The messagebox' buttons can be styled using <code>Wt-msgbox-buttons</code> style class. </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a9d07bb99d17c38128c79f9c7ecd42963"></a><!-- doxytag: member="Wt::WMessageBox::addButton" ref="a9d07bb99d17c38128c79f9c7ecd42963" args="(const WString &text, StandardButton result)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classWt_1_1WPushButton.html">WPushButton</a> * Wt::WMessageBox::addButton </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> & </td>
<td class="paramname"><em>text</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceWt.html#a270a5e1af09979a6559f0f39e3d93062">StandardButton</a> </td>
<td class="paramname"><em>result</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Add a custom button with given text. </p>
<p>When the button is clicked, the associated result will be returned. </p>
</div>
</div>
<a class="anchor" id="a0e95f906d321b5c5cb574abc25716aec"></a><!-- doxytag: member="Wt::WMessageBox::button" ref="a0e95f906d321b5c5cb574abc25716aec" args="(StandardButton b)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classWt_1_1WPushButton.html">WPushButton</a> * Wt::WMessageBox::button </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceWt.html#a270a5e1af09979a6559f0f39e3d93062">StandardButton</a> </td>
<td class="paramname"><em>b</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the button widget for the given standard button. </p>
<p>This may be useful to customize the style or layout of the button. </p>
</div>
</div>
<a class="anchor" id="ac07ce4dd360c8305cdc1e08642e32a7c"></a><!-- doxytag: member="Wt::WMessageBox::buttonResult" ref="ac07ce4dd360c8305cdc1e08642e32a7c" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceWt.html#a270a5e1af09979a6559f0f39e3d93062">StandardButton</a> Wt::WMessageBox::buttonResult </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the result of this message box. </p>
<p>This value is only defined after a button has been clicked. </p>
</div>
</div>
<a class="anchor" id="ab856f77f4e4369b5864390a1192c252d"></a><!-- doxytag: member="Wt::WMessageBox::show" ref="ab856f77f4e4369b5864390a1192c252d" args="(const WString &caption, const WString &text, WFlags< StandardButton > buttons, const WAnimation &animation=WAnimation())" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceWt.html#a270a5e1af09979a6559f0f39e3d93062">StandardButton</a> Wt::WMessageBox::show </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> & </td>
<td class="paramname"><em>caption</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> & </td>
<td class="paramname"><em>text</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">WFlags< <a class="el" href="namespaceWt.html#a270a5e1af09979a6559f0f39e3d93062">StandardButton</a> > </td>
<td class="paramname"><em>buttons</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classWt_1_1WAnimation.html">WAnimation</a> & </td>
<td class="paramname"><em>animation</em> = <code><a class="el" href="classWt_1_1WAnimation.html">WAnimation</a>()</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Convenience method to show a message box, blocking the current thread. </p>
<p>Show a message box, blocking the current thread until the message box is closed, and return the result. </p>
</div>
</div>
<a class="anchor" id="ada70275e7f0d9fc067cd5a1c553a031f"></a><!-- doxytag: member="Wt::WMessageBox::textWidget" ref="ada70275e7f0d9fc067cd5a1c553a031f" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classWt_1_1WText.html">WText</a>* Wt::WMessageBox::textWidget </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the text widget. </p>
<p>This may be useful to customize the style or layout of the displayed text. </p>
</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"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </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 <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>
|