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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Wt: Wt::WMessageBox Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<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>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div class="navpath"><a class="el" href="namespaceWt.html">Wt</a>::<a class="el" href="classWt_1_1WMessageBox.html">WMessageBox</a>
</div>
</div>
<div class="contents">
<h1>Wt::WMessageBox Class Reference</h1><!-- doxytag: class="Wt::WMessageBox" --><!-- doxytag: inherits="Wt::WDialog" -->A standard dialog for confirmation or to get simple user input.
<a href="#_details">More...</a>
<p>
<code>#include <Wt/WMessageBox></code>
<p>
<div class="dynheader">
Inheritance diagram for Wt::WMessageBox:</div>
<div class="dynsection">
<p><center><img src="classWt_1_1WMessageBox__inherit__graph.png" border="0" usemap="#Wt_1_1WMessageBox__inherit__map" alt="Inheritance graph"></center>
<map name="Wt_1_1WMessageBox__inherit__map">
<area shape="rect" href="classWt_1_1WDialog.html" title="A WDialog shows a dialog." alt="" coords="39,229,132,256"><area shape="rect" href="classWt_1_1WCompositeWidget.html" title="A widget that hides the implementation of composite widgets." alt="" coords="5,155,165,181"><area shape="rect" href="classWt_1_1WWidget.html" title="The abstract base class for a user-interface component." alt="" coords="37,80,133,107"><area shape="rect" href="classWt_1_1WObject.html" title="A base class for objects that participate in the signal/slot system." alt="" coords="37,5,133,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<p>
<a href="classWt_1_1WMessageBox-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageBox.html#2a6c97b72f842051e129ff3140fba0c2">WMessageBox</a> (bool i18n=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates an empty message box. <a href="#2a6c97b72f842051e129ff3140fba0c2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageBox.html#056accb0659a412e0aace3be3d449f7a">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#aa26ad9f143951595691fbd604567f5f">Icon</a> icon, WFlags< <a class="el" href="namespaceWt.html#270a5e1af09979a6559f0f39e3d93062">StandardButton</a> > buttons, bool i18n=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a message box with given caption, text, icon, and buttons. <a href="#056accb0659a412e0aace3be3d449f7a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ef66b54dc12ec478e218d561880254e8"></a><!-- doxytag: member="Wt::WMessageBox::setText" ref="ef66b54dc12ec478e218d561880254e8" args="(const WString &text)" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageBox.html#ef66b54dc12ec478e218d561880254e8">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" nowrap align="right" valign="top"><a class="anchor" name="1e1dffabe0d91e84f6f504ffb600c4a0"></a><!-- doxytag: member="Wt::WMessageBox::text" ref="1e1dffabe0d91e84f6f504ffb600c4a0" 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#1e1dffabe0d91e84f6f504ffb600c4a0">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" nowrap 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#da70275e7f0d9fc067cd5a1c553a031f">textWidget</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the text widget. <a href="#da70275e7f0d9fc067cd5a1c553a031f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="194dc23e212770e494d459f2426f9ae8"></a><!-- doxytag: member="Wt::WMessageBox::setIcon" ref="194dc23e212770e494d459f2426f9ae8" args="(Icon icon)" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageBox.html#194dc23e212770e494d459f2426f9ae8">setIcon</a> (<a class="el" href="namespaceWt.html#aa26ad9f143951595691fbd604567f5f">Icon</a> icon)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the icon. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0ff9580eedf4a3e6b74f27eae71e23ff"></a><!-- doxytag: member="Wt::WMessageBox::icon" ref="0ff9580eedf4a3e6b74f27eae71e23ff" args="() const " -->
<a class="el" href="namespaceWt.html#aa26ad9f143951595691fbd604567f5f">Icon</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageBox.html#0ff9580eedf4a3e6b74f27eae71e23ff">icon</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the icon. <br></td></tr>
<tr><td class="memItemLeft" nowrap 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#9d07bb99d17c38128c79f9c7ecd42963">addButton</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &text, <a class="el" href="namespaceWt.html#270a5e1af09979a6559f0f39e3d93062">StandardButton</a> result)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Add a custom button with given text. <a href="#9d07bb99d17c38128c79f9c7ecd42963"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1757ee241b2df0045623a6bcad707dc6"></a><!-- doxytag: member="Wt::WMessageBox::setButtons" ref="1757ee241b2df0045623a6bcad707dc6" args="(WFlags< StandardButton > buttons)" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageBox.html#1757ee241b2df0045623a6bcad707dc6">setButtons</a> (WFlags< <a class="el" href="namespaceWt.html#270a5e1af09979a6559f0f39e3d93062">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" nowrap align="right" valign="top"><a class="anchor" name="71c9a2cce4be7c3a5e33718c8ec924c1"></a><!-- doxytag: member="Wt::WMessageBox::buttons" ref="71c9a2cce4be7c3a5e33718c8ec924c1" args="() const " -->
WFlags< <a class="el" href="namespaceWt.html#270a5e1af09979a6559f0f39e3d93062">StandardButton</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageBox.html#71c9a2cce4be7c3a5e33718c8ec924c1">buttons</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the standard buttons. <br></td></tr>
<tr><td class="memItemLeft" nowrap 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#0e95f906d321b5c5cb574abc25716aec">button</a> (<a class="el" href="namespaceWt.html#270a5e1af09979a6559f0f39e3d93062">StandardButton</a> b)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the button widget for the given standard button. <a href="#0e95f906d321b5c5cb574abc25716aec"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespaceWt.html#270a5e1af09979a6559f0f39e3d93062">StandardButton</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageBox.html#c07ce4dd360c8305cdc1e08642e32a7c">buttonResult</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the result of this message box. <a href="#c07ce4dd360c8305cdc1e08642e32a7c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e9d2caaa82244b2b195e9d3e011bc740"></a><!-- doxytag: member="Wt::WMessageBox::buttonClicked" ref="e9d2caaa82244b2b195e9d3e011bc740" args="()" -->
<a class="el" href="classWt_1_1Signal.html">Signal</a>< <a class="el" href="namespaceWt.html#270a5e1af09979a6559f0f39e3d93062">StandardButton</a> > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageBox.html#e9d2caaa82244b2b195e9d3e011bc740">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"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="namespaceWt.html#270a5e1af09979a6559f0f39e3d93062">StandardButton</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WMessageBox.html#cacb6ec745e3fab2833f712994bce9db">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#270a5e1af09979a6559f0f39e3d93062">StandardButton</a> > buttons, bool i18n=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Convenience method to show a message box, blocking the current thread. <a href="#cacb6ec745e3fab2833f712994bce9db"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A standard dialog for confirmation or to get simple user input.
<p>
The message box shows a message in a dialog window, with a number of buttons. These buttons may be standard buttons, or customized.<p>
There are two distinct ways for using a WMessageBox, which reflect the two ways of dealing with a <a class="el" href="classWt_1_1WDialog.html" title="A WDialog shows a dialog.">WDialog</a> box.<p>
The easiest way is using the static <a class="el" href="classWt_1_1WWidget.html#52dcef5a385ddfa0a8c3e6c20000f181" title="Shows the widget.">show()</a> method, which shows a message box, blocks the current thread, and returns the button that was pressed by the user. Since this uses the <a class="el" href="classWt_1_1WDialog.html#e56cf798aba9f09a8869df50d3f334a6" title="Executes the dialog in a recursive event loop.">WDialog::exec()</a>, it suffers from the same scalability issues.<p>
The more elaborate way is by creating a <a class="el" href="classWt_1_1WMessageBox.html" title="A standard dialog for confirmation or to get simple user input.">WMessageBox</a>, and connecting the buttonClicked signal to a method. This method then interpretes the result and deletes the message box.<p>
Example code (using the <a class="el" href="classWt_1_1WDialog.html#e56cf798aba9f09a8869df50d3f334a6" title="Executes the dialog in a recursive event loop.">exec()</a> method): <div class="fragment"><pre class="fragment"> <a class="code" href="namespaceWt.html#270a5e1af09979a6559f0f39e3d93062" title="Enumeration that indicates a standard button.">StandardButton</a>
<a class="code" href="classWt_1_1WDialog.html#469ba179a2d620e2f7f6e0142f891c27" title="Returns the result that was set for this dialog.">result</a> = <a class="code" href="classWt_1_1WWidget.html#52dcef5a385ddfa0a8c3e6c20000f181" 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#270a5e1af09979a6559f0f39e3d93062f92b793210df9123b9be1ee11dd0d36d" title="An OK button.">Ok</a> | <a class="code" href="namespaceWt.html#270a5e1af09979a6559f0f39e3d93062c31abea0685e68a0e116038d0ad48ca8" 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" cellspacing="3" cellpadding="3">
<tr>
<td><div align="center">
<img src="WMessageBox-default-1.png" alt="WMessageBox-default-1.png">
<p><strong>Example of a WMessageBox (default)</strong></p></div>
</td><td><div align="center">
<img src="WMessageBox-polished-1.png" alt="WMessageBox-polished-1.png">
<p><strong>Example of a WMessageBox (polished)</strong></p></div>
</td></tr>
</table>
<p>
<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. <hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="2a6c97b72f842051e129ff3140fba0c2"></a><!-- doxytag: member="Wt::WMessageBox::WMessageBox" ref="2a6c97b72f842051e129ff3140fba0c2" args="(bool i18n=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Wt::WMessageBox::WMessageBox </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>i18n</em> = <code>false</code> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Creates an empty message box.
<p>
The button labels may be set fixed English (if <code>i18n</code> = <code>false</code>), or fetched from a resource bundle if <code>i18n</code> = <code>true</code>. In that case, the key for each button is exactly the same as the English text.
</div>
</div><p>
<a class="anchor" name="056accb0659a412e0aace3be3d449f7a"></a><!-- doxytag: member="Wt::WMessageBox::WMessageBox" ref="056accb0659a412e0aace3be3d449f7a" args="(const WString &caption, const WString &text, Icon icon, WFlags< StandardButton > buttons, bool i18n=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Wt::WMessageBox::WMessageBox </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"><a class="el" href="namespaceWt.html#aa26ad9f143951595691fbd604567f5f">Icon</a> </td>
<td class="paramname"> <em>icon</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">WFlags< <a class="el" href="namespaceWt.html#270a5e1af09979a6559f0f39e3d93062">StandardButton</a> > </td>
<td class="paramname"> <em>buttons</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>i18n</em> = <code>false</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Creates a message box with given caption, text, icon, and buttons.
<p>
The button labels may be set fixed English (if <code>i18n</code> = <code>false</code>), or fetched from a resource bundle if <code>i18n</code> = <code>true</code>.<p>
In that case, the key for each button is exactly the same as the English text.
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="da70275e7f0d9fc067cd5a1c553a031f"></a><!-- doxytag: member="Wt::WMessageBox::textWidget" ref="da70275e7f0d9fc067cd5a1c553a031f" 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<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the text widget.
<p>
This may be useful to customize the style or layout of the displayed text.
</div>
</div><p>
<a class="anchor" name="9d07bb99d17c38128c79f9c7ecd42963"></a><!-- doxytag: member="Wt::WMessageBox::addButton" ref="9d07bb99d17c38128c79f9c7ecd42963" 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#270a5e1af09979a6559f0f39e3d93062">StandardButton</a> </td>
<td class="paramname"> <em>result</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Add a custom button with given text.
<p>
When the button is clicked, the associated result will be returned.
</div>
</div><p>
<a class="anchor" name="0e95f906d321b5c5cb574abc25716aec"></a><!-- doxytag: member="Wt::WMessageBox::button" ref="0e95f906d321b5c5cb574abc25716aec" 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#270a5e1af09979a6559f0f39e3d93062">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>
This may be useful to customize the style or layout of the button.
</div>
</div><p>
<a class="anchor" name="c07ce4dd360c8305cdc1e08642e32a7c"></a><!-- doxytag: member="Wt::WMessageBox::buttonResult" ref="c07ce4dd360c8305cdc1e08642e32a7c" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceWt.html#270a5e1af09979a6559f0f39e3d93062">StandardButton</a> Wt::WMessageBox::buttonResult </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the result of this message box.
<p>
This value is only defined after a button has been clicked.
</div>
</div><p>
<a class="anchor" name="cacb6ec745e3fab2833f712994bce9db"></a><!-- doxytag: member="Wt::WMessageBox::show" ref="cacb6ec745e3fab2833f712994bce9db" args="(const WString &caption, const WString &text, WFlags< StandardButton > buttons, bool i18n=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceWt.html#270a5e1af09979a6559f0f39e3d93062">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#270a5e1af09979a6559f0f39e3d93062">StandardButton</a> > </td>
<td class="paramname"> <em>buttons</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>i18n</em> = <code>false</code></td><td> </td>
</tr>
<tr>
<td></td>
<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>
Show a message box, blocking the current thread until the message box is closed, and return the result.
</div>
</div><p>
</div>
<hr size="1"><address style="align: right;"><small>
Generated on Fri Mar 26 17:12:07 2010 for <a href="http://www.webtoolkit.eu/wt/">Wt</a> by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6</small></address>
</body>
</html>
|