Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > b3a1f4d91c26f535919e39e25606614a > files > 2280

wt-doc-3.2.3-1.fc18.noarch.rpm

<!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::WWidget 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.3</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_1WWidget.html">WWidget</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">Wt::WWidget Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Wt::WWidget" --><!-- doxytag: inherits="Wt::WObject" -->
<p>The abstract base class for a user-interface component.  
 <a href="classWt_1_1WWidget.html#details">More...</a></p>

<p><code>#include &lt;Wt/WWidget&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Wt::WWidget:</div>
<div class="dyncontent">
<div class="center"><img src="classWt_1_1WWidget__inherit__graph.png" border="0" usemap="#Wt_1_1WWidget_inherit__map" alt="Inheritance graph"/></div>
<map name="Wt_1_1WWidget_inherit__map" id="Wt_1_1WWidget_inherit__map">
<area shape="rect" href="classWt_1_1WCompositeWidget.html" title="A widget that hides the implementation of composite widgets." alt="" coords="301,512,464,539"/><area shape="rect" href="classWt_1_1WWebWidget.html" title="A base class for widgets with an HTML counterpart." alt="" coords="319,1171,447,1197"/><area shape="rect" href="classWt_1_1WObject.html" title="A base class for objects that participate in the signal/slot system." alt="" coords="7,841,103,868"/><area shape="rect" href="classWt_1_1WAbstractItemView.html" title="An abstract base class for item Views." alt="" coords="513,31,673,57"/><area shape="rect" href="classWt_1_1WCalendar.html" title="A calendar." alt="" coords="539,81,648,108"/><area shape="rect" href="classWt_1_1WDatePicker.html" title="A date picker." alt="" coords="532,132,655,159"/><area shape="rect" href="classWt_1_1WDialog.html" title="A WDialog shows a dialog." alt="" coords="545,183,641,209"/><area shape="rect" href="classWt_1_1WGoogleMap.html" title="A widget that displays a google map." alt="" coords="531,233,656,260"/><area shape="rect" href="classWt_1_1WIconPair.html" title="A widget that shows one of two icons depending on its state." alt="" coords="540,284,647,311"/><area shape="rect" href="classWt_1_1WInPlaceEdit.html" title="A widget that provides in&#45;place&#45;editable text." alt="" coords="531,335,656,361"/><area shape="rect" href="classWt_1_1WMediaPlayer.html" title="A media player." alt="" coords="528,385,659,412"/><area shape="rect" href="classWt_1_1WMenu.html" title="A widget that shows a menu of options." alt="" coords="548,436,639,463"/><area shape="rect" href="classWt_1_1WPanel.html" title="A WPanel provides a container with a title bar." alt="" coords="548,487,639,513"/><area shape="rect" href="classWt_1_1WPopupMenu.html" title="A menu presented in a popup window." alt="" coords="529,537,657,564"/><area shape="rect" href="classWt_1_1WPopupMenuItem.html" title="An item in a popup menu." alt="" coords="517,588,669,615"/><area shape="rect" href="classWt_1_1WSuggestionPopup.html" title="A widget which popups to assist in editing a textarea or lineedit." alt="" coords="513,639,673,665"/><area shape="rect" href="classWt_1_1WTabWidget.html" title="A widget that organizes contents in tab panes." alt="" coords="533,689,653,716"/><area shape="rect" href="classWt_1_1WTree.html" title="A widget that represents a navigatable tree." alt="" coords="552,740,635,767"/><area shape="rect" href="classWt_1_1WTreeNode.html" title="A single node in a tree." alt="" coords="536,791,651,817"/><area shape="rect" href="classWt_1_1WTreeTable.html" title="A table with a navigatable tree in the first column." alt="" coords="536,841,651,868"/><area shape="rect" href="classWt_1_1WValidationStatus.html" title="A widget that keeps track of the validation status of a form widget." alt="" coords="517,892,669,919"/><area shape="rect" href="classWt_1_1WVirtualImage.html" title="An abstract widget that shows a viewport to a virtually large image." alt="" coords="528,943,659,969"/><area shape="rect" href="classWt_1_1WTableView.html" title="An MVC View widget for tabular data." alt="" coords="772,5,889,32"/><area shape="rect" href="classWt_1_1WTreeView.html" title="A view class that displays a model as a tree or tree table." alt="" coords="775,56,887,83"/><area shape="rect" href="classWt_1_1Auth_1_1PasswordPromptDialog.html" title="A dialog that prompts for the user password." alt="" coords="723,157,939,184"/><area shape="rect" href="classWt_1_1WMessageBox.html" title="A standard dialog for confirmation or to get simple user input." alt="" coords="763,208,899,235"/><area shape="rect" href="classWt_1_1WTreeTableNode.html" title="A specialized tree node which allows additional data to be associated with each node." alt="" coords="759,791,903,817"/><area shape="rect" href="classWt_1_1Ext_1_1Widget.html" title="An abstract base class for all Ext widgets." alt="" coords="536,993,651,1020"/><area shape="rect" href="classWt_1_1WBreak.html" title="A widget that provides a line break between inline widgets." alt="" coords="547,1095,640,1121"/><area shape="rect" href="classWt_1_1WFileUpload.html" title="A widget that allows a file to be uploaded." alt="" coords="533,1145,653,1172"/><area shape="rect" href="classWt_1_1WFlashObject.html" title="A widget that renders a Flash object (also known as Flash movie)." alt="" coords="529,1196,657,1223"/><area shape="rect" href="classWt_1_1WInteractWidget.html" title="An abstract widget that can receive user&#45;interface interaction." alt="" coords="521,1247,665,1273"/><area shape="rect" href="classWt_1_1WScrollArea.html" title="A widget that adds scrolling capabilities to its content." alt="" coords="533,1297,653,1324"/><area shape="rect" href="classWt_1_1WViewWidget.html" title="An abstract base class for an MVC view that is rendered using a widget." alt="" coords="529,1348,657,1375"/><area shape="rect" href="classWt_1_1Ext_1_1Component.html" title="An abstract base class for widgets that can be visually disabled." alt="" coords="761,867,900,893"/><area shape="rect" href="classWt_1_1Ext_1_1Menu.html" title="A menu presented in a popup window." alt="" coords="777,917,884,944"/><area shape="rect" href="classWt_1_1Ext_1_1SplitterHandle.html" title="A handle inside a splitter." alt="" coords="753,968,908,995"/><area shape="rect" href="classWt_1_1Ext_1_1ToolBar.html" title="A class that represents a tool bar (or a menu bar)." alt="" coords="772,1019,889,1045"/><area shape="rect" href="classWt_1_1WAbstractMedia.html" title="Abstract baseclass for native media elements." alt="" coords="759,1069,903,1096"/><area shape="rect" href="classWt_1_1WContainerWidget.html" title="A widget that holds and manages child widgets." alt="" coords="753,1120,908,1147"/><area shape="rect" href="classWt_1_1WFormWidget.html" title="An abstract widget that corresponds to an HTML form element." alt="" coords="765,1171,896,1197"/><area shape="rect" href="classWt_1_1WGLWidget.html" title="WebGL support class." alt="" coords="773,1221,888,1248"/><area shape="rect" href="classWt_1_1WImage.html" title="A widget that displays an image." alt="" coords="784,1272,877,1299"/><area shape="rect" href="classWt_1_1WLabel.html" title="A label for a form field." alt="" coords="785,1323,876,1349"/><area shape="rect" href="classWt_1_1WPaintedWidget.html" title="A widget that is painted using vector graphics." alt="" coords="759,1373,903,1400"/><area shape="rect" href="classWt_1_1WProgressBar.html" title="A progress bar." alt="" coords="765,1424,896,1451"/><area shape="rect" href="classWt_1_1WTable.html" title="A container widget which provides layout of children in a table grid." alt="" coords="787,1475,875,1501"/><area shape="rect" href="classWt_1_1WTemplate.html" title="A widget that renders an XHTML template." alt="" coords="775,1525,887,1552"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classWt_1_1WWidget-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">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#acbe32dd454131720fa9712bc866efb4b">~WWidget</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#acbe32dd454131720fa9712bc866efb4b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWt_1_1WWidget.html">WWidget</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a3461e31818c4d2f516641bdaf508312a">parent</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the parent widget.  <a href="#a3461e31818c4d2f516641bdaf508312a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#ae15ffe92fdc5c394013d61b5bebb2f11">setPositionScheme</a> (<a class="el" href="namespaceWt.html#a2551043da5512cfe7b857c5db6e5ae40">PositionScheme</a> scheme)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the CSS position scheme.  <a href="#ae15ffe92fdc5c394013d61b5bebb2f11"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceWt.html#a2551043da5512cfe7b857c5db6e5ae40">PositionScheme</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#aea3a7c21d936d34f28b42143aba4edd5">positionScheme</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the CSS position scheme.  <a href="#aea3a7c21d936d34f28b42143aba4edd5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a0b60b3e6d868689071fe3f828d550ae2">setOffsets</a> (const <a class="el" href="classWt_1_1WLength.html">WLength</a> &amp;offset, WFlags&lt; <a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> &gt; sides=<a class="el" href="namespaceWt.html#a3358b8309fdb63a402efcb1a577855e8">All</a>)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets CSS offsets for a non-statically positioned widget.  <a href="#a0b60b3e6d868689071fe3f828d550ae2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a08e07b6d0ca355a3fe2c7dead3dde228">offset</a> (<a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> side) const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a CSS offset.  <a href="#a08e07b6d0ca355a3fe2c7dead3dde228"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a5bebad8f1582b8bebf01a9ed0ee11972">resize</a> (const <a class="el" href="classWt_1_1WLength.html">WLength</a> &amp;width, const <a class="el" href="classWt_1_1WLength.html">WLength</a> &amp;height)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Resizes the widget.  <a href="#a5bebad8f1582b8bebf01a9ed0ee11972"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a3f423e20a9b0792c1bc3d52899065e82">width</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the width.  <a href="#a3f423e20a9b0792c1bc3d52899065e82"></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_1WWidget.html#afc4bfcc92fa39010cac8775f3332dfa5">setWidth</a> (const <a class="el" href="classWt_1_1WLength.html">WLength</a> &amp;width)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the width.  <a href="#afc4bfcc92fa39010cac8775f3332dfa5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a9454454144fe3729378c87c3b90372b4">height</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the height.  <a href="#a9454454144fe3729378c87c3b90372b4"></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_1WWidget.html#a7d82ee32496743fdd28b30461f95d5ec">setHeight</a> (const <a class="el" href="classWt_1_1WLength.html">WLength</a> &amp;height)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the height.  <a href="#a7d82ee32496743fdd28b30461f95d5ec"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a092c7d1ecfde7f004ef120389d91775d">setMinimumSize</a> (const <a class="el" href="classWt_1_1WLength.html">WLength</a> &amp;width, const <a class="el" href="classWt_1_1WLength.html">WLength</a> &amp;height)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a minimum size.  <a href="#a092c7d1ecfde7f004ef120389d91775d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#af5847c8028f501b51d74184107ccdde6">minimumWidth</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the minimum width.  <a href="#af5847c8028f501b51d74184107ccdde6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a411b6bbac918eeb19946d65c4352beb1">minimumHeight</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the minimum height.  <a href="#a411b6bbac918eeb19946d65c4352beb1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#af023064cf8007bda6baeb5277d79bbd9">setMaximumSize</a> (const <a class="el" href="classWt_1_1WLength.html">WLength</a> &amp;width, const <a class="el" href="classWt_1_1WLength.html">WLength</a> &amp;height)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a maximum size.  <a href="#af023064cf8007bda6baeb5277d79bbd9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a733c78b3d54dc355adf6ee05c69bf219">maximumWidth</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the maximum width.  <a href="#a733c78b3d54dc355adf6ee05c69bf219"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#af2f6d29c4e5a88bdd12a180e125490cd">maximumHeight</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the maximum height.  <a href="#af2f6d29c4e5a88bdd12a180e125490cd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#aef120ad789aec5ee406c2e312efeb4b5">positionAt</a> (const <a class="el" href="classWt_1_1WWidget.html">WWidget</a> *widget, <a class="el" href="namespaceWt.html#a2a8d45559e16a0185bf61bfad0a67912">Orientation</a> orientation=Vertical)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Positions a widget next to another widget.  <a href="#aef120ad789aec5ee406c2e312efeb4b5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0763f0e672e5cf673141405dc8e796bb"></a><!-- doxytag: member="Wt::WWidget::setLineHeight" ref="a0763f0e672e5cf673141405dc8e796bb" args="(const WLength &amp;height)=0" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a0763f0e672e5cf673141405dc8e796bb">setLineHeight</a> (const <a class="el" href="classWt_1_1WLength.html">WLength</a> &amp;height)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the CSS line height for contained text. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a162f32ce7482e7c3121d18585555909a">lineHeight</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the CSS line height for contained text.  <a href="#a162f32ce7482e7c3121d18585555909a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a2915d313e6934173c087bf8212024289">setFloatSide</a> (<a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> s)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Specifies a CSS float side.  <a href="#a2915d313e6934173c087bf8212024289"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3">Side</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a78041b1bcd9b811fa4771d19005a585a">floatSide</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the CSS float side.  <a href="#a78041b1bcd9b811fa4771d19005a585a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a1919e2e3628bb4e4b74517605b5062c5">setClearSides</a> (WFlags&lt; <a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> &gt; sides)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the sides that should be cleared of floats.  <a href="#a1919e2e3628bb4e4b74517605b5062c5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual WFlags&lt; <a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a7657fb67f7ec42b7374b7f64f85e6030">clearSides</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the sides that should remain empty.  <a href="#a7657fb67f7ec42b7374b7f64f85e6030"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#aa4f27573eae7875d0fc538e37bc191a0">setMargin</a> (const <a class="el" href="classWt_1_1WLength.html">WLength</a> &amp;margin, WFlags&lt; <a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> &gt; sides=<a class="el" href="namespaceWt.html#a3358b8309fdb63a402efcb1a577855e8">All</a>)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets CSS margins around the widget.  <a href="#aa4f27573eae7875d0fc538e37bc191a0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a8b7c40b966518e22543d290229fbd29f">margin</a> (<a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> side) const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a CSS margin set.  <a href="#a8b7c40b966518e22543d290229fbd29f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a8cd985ab1dfcee828c7b6189a7e052a5">setHiddenKeepsGeometry</a> (bool enabled)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets whether the widget keeps its geometry when hidden.  <a href="#a8cd985ab1dfcee828c7b6189a7e052a5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#ac556bf0e3087b238a98f25b77b9d529c">hiddenKeepsGeometry</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the widget keeps its geometry when hidden.  <a href="#ac556bf0e3087b238a98f25b77b9d529c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a66bdda41220267a8c7ff9865996e2675">setHidden</a> (bool hidden, const <a class="el" href="classWt_1_1WAnimation.html">WAnimation</a> &amp;animation=<a class="el" href="classWt_1_1WAnimation.html">WAnimation</a>())=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Hides or shows the widget.  <a href="#a66bdda41220267a8c7ff9865996e2675"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a76a29fd7fa9fa9a6e15e3a450f24a381">isHidden</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the widget is set hidden.  <a href="#a76a29fd7fa9fa9a6e15e3a450f24a381"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a450f94dc5a28737625cdb6bde3fdc788">isVisible</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the widget is visible.  <a href="#a450f94dc5a28737625cdb6bde3fdc788"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#ae29fe35b633ec166f922419cd3ca9d96">setDisabled</a> (bool disabled)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets whether the widget is disabled.  <a href="#ae29fe35b633ec166f922419cd3ca9d96"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a8c806a873adad31035122a3b465d3da2">isDisabled</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the widget is set disabled.  <a href="#a8c806a873adad31035122a3b465d3da2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#ae091783ebd393c04f026133069b874d3">isEnabled</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the widget is enabled.  <a href="#ae091783ebd393c04f026133069b874d3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a3890a2ef04571b6d36e7468583457091">setPopup</a> (bool popup)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Lets the widget overlay over other sibling widgets.  <a href="#a3890a2ef04571b6d36e7468583457091"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a29f3361a8c518dabc1251892da55dd6d">isPopup</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the widget is overlayed.  <a href="#a29f3361a8c518dabc1251892da55dd6d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#ac78e3af143883334c82031790c87416e">setInline</a> (bool inlined)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets whether the widget is displayed inline or as a block.  <a href="#ac78e3af143883334c82031790c87416e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#afa7a21fbd173d6ee83c2aa9cc11e2ac1">isInline</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the widget is displayed inline or as block.  <a href="#afa7a21fbd173d6ee83c2aa9cc11e2ac1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a091e1fb88d9bbd8818d061af43c618b4">setDecorationStyle</a> (const <a class="el" href="classWt_1_1WCssDecorationStyle.html">WCssDecorationStyle</a> &amp;style)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a CSS decoration style.  <a href="#a091e1fb88d9bbd8818d061af43c618b4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WCssDecorationStyle.html">WCssDecorationStyle</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#ac1833c7c01599b3733712ab0bf3c3a0a">decorationStyle</a> ()=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the decoration style of this widget.  <a href="#ac1833c7c01599b3733712ab0bf3c3a0a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a4be23ecf48d5968efb5d926e38e01708">setStyleClass</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;styleClass)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets (one or more) CSS style classes.  <a href="#a4be23ecf48d5968efb5d926e38e01708"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WString.html">WString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#ad5a84cacbaa1e4da97f7ba68de060330">styleClass</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the CSS style class.  <a href="#ad5a84cacbaa1e4da97f7ba68de060330"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#abb5949e98f47edb7db98d7b6df07a31c">addStyleClass</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;styleClass, bool force=false)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a CSS style class.  <a href="#abb5949e98f47edb7db98d7b6df07a31c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a3b8a35e37ef06c408f346c63a5f1aa8e">removeStyleClass</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;styleClass, bool force=false)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes a CSS style class.  <a href="#a3b8a35e37ef06c408f346c63a5f1aa8e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3a51345ee7c069332a51ab32c727b228"></a><!-- doxytag: member="Wt::WWidget::toggleStyleClass" ref="a3a51345ee7c069332a51ab32c727b228" args="(const WString &amp;styleClass, bool add, bool force=false)" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a3a51345ee7c069332a51ab32c727b228">toggleStyleClass</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;styleClass, bool add, bool force=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Toggles a CSS style class. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a4f911e2f62cf35c34cb603eaca0d9a3f">setVerticalAlignment</a> (<a class="el" href="namespaceWt.html#ab8f772c69bc8180c31f9e4f4593b143f">AlignmentFlag</a> alignment, const <a class="el" href="classWt_1_1WLength.html">WLength</a> &amp;length=<a class="el" href="classWt_1_1WLength.html#a0cf39ca4225776879d56ade60320c31a">WLength::Auto</a>)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the vertical alignment.  <a href="#a4f911e2f62cf35c34cb603eaca0d9a3f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceWt.html#ab8f772c69bc8180c31f9e4f4593b143f">AlignmentFlag</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a0ae4522f15e80ff00d246a19604f6c7f">verticalAlignment</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the vertical alignment.  <a href="#a0ae4522f15e80ff00d246a19604f6c7f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a9faaa6c2b46c0adf6606ad1496c4e52b">verticalAlignmentLength</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the fixed vertical alignment that was set.  <a href="#a9faaa6c2b46c0adf6606ad1496c4e52b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a717c1873e99c3ed9fd4ff4f8247327a6">setToolTip</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;text, <a class="el" href="namespaceWt.html#a140dea437d52d3d7c438ea3bd16a1480">TextFormat</a> textFormat=PlainText)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a tooltip.  <a href="#a717c1873e99c3ed9fd4ff4f8247327a6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae67a8d8c573e44f02ab165fe80b2eec6"></a><!-- doxytag: member="Wt::WWidget::toolTip" ref="ae67a8d8c573e44f02ab165fe80b2eec6" args="() const =0" -->
virtual <a class="el" href="classWt_1_1WString.html">WString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#ae67a8d8c573e44f02ab165fe80b2eec6">toolTip</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the tooltip. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a15e1efb1c2e1030a3ad9565ef7fb0e15">refresh</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Refresh the widget.  <a href="#a15e1efb1c2e1030a3ad9565ef7fb0e15"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#aa2b7078b3b43d53a85e5244b45d504f7">jsRef</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a JavaScript expression to the corresponding DOM node.  <a href="#aa2b7078b3b43d53a85e5244b45d504f7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#ad629ef6b7b9bc84999ff31dc0f2f3a12">setAttributeValue</a> (const std::string &amp;name, const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;value)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets an attribute value.  <a href="#ad629ef6b7b9bc84999ff31dc0f2f3a12"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WString.html">WString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a44679c4df92658912866d5a0469bbe95">attributeValue</a> (const std::string &amp;name) const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an attribute value.  <a href="#a44679c4df92658912866d5a0469bbe95"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#ab876fc1b7d2e4e5dfc631e380d406ae2">setJavaScriptMember</a> (const std::string &amp;name, const std::string &amp;value)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a JavaScript member.  <a href="#ab876fc1b7d2e4e5dfc631e380d406ae2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a78a539cfd49a8927a196de66362c37e9">javaScriptMember</a> (const std::string &amp;name) const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the value of a JavaScript member.  <a href="#a78a539cfd49a8927a196de66362c37e9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#ac9839a243ba5f98e7962d1c0dfc20813">callJavaScriptMember</a> (const std::string &amp;name, const std::string &amp;args)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Calls a JavaScript member.  <a href="#ac9839a243ba5f98e7962d1c0dfc20813"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a1ee433705523b2b79c4c3539e0852c92">load</a> ()=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads content just before the widget is used.  <a href="#a1ee433705523b2b79c4c3539e0852c92"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a1aa5c2496715bb582a584ebcdd97a6d0">loaded</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether this widget has been loaded.  <a href="#a1aa5c2496715bb582a584ebcdd97a6d0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#aeca7e1e9852d83067b3834078378f22d">setTabIndex</a> (int index)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the tab index.  <a href="#aeca7e1e9852d83067b3834078378f22d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#ac8e874a86853e3e230e2cee1a7a153c4">tabIndex</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the tab index.  <a href="#ac8e874a86853e3e230e2cee1a7a153c4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#aebee4b24e8128c08ae4aa3682adf6d8f">acceptDrops</a> (const std::string &amp;mimeType, const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;hoverStyleClass=<a class="el" href="classWt_1_1WString.html">WString</a>())</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a mime type to be accepted for dropping.  <a href="#aebee4b24e8128c08ae4aa3682adf6d8f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a89e4d70592dd34c277923cb793f73b66">stopAcceptDrops</a> (const std::string &amp;mimeType)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Indicates that a mime type is no longer accepted for dropping.  <a href="#a89e4d70592dd34c277923cb793f73b66"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a93ff9d1ca04e733cd54cd40a06775f7e">setId</a> (const std::string &amp;id)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the CSS Id.  <a href="#a93ff9d1ca04e733cd54cd40a06775f7e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WWidget.html">WWidget</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a96e9c88d9ed79acccf3edf2bb00c0126">find</a> (const std::string &amp;name)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds a descendent widget by name.  <a href="#a96e9c88d9ed79acccf3edf2bb00c0126"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#aaae07190fb97d856149226ea315a75d0">htmlText</a> (std::ostream &amp;out)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Streams the (X)HTML representation.  <a href="#aaae07190fb97d856149226ea315a75d0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a3ccd308793bbf124aa2aeebfb1b4f42e">setSelectable</a> (bool selectable)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets as selectable.  <a href="#a3ccd308793bbf124aa2aeebfb1b4f42e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a2a8afe6d6f85af864df5cbd49ff6a0c5">doJavaScript</a> (const std::string &amp;js)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes the given JavaScript statements when the widget is rendered or updated.  <a href="#a2a8afe6d6f85af864df5cbd49ff6a0c5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a20624c7c7cdd8b0dd3c3b51ed36c3bb1">isRendered</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the widget is rendered.  <a href="#a20624c7c7cdd8b0dd3c3b51ed36c3bb1"></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_1WWidget.html#a0825c3ccbd4999afc1a88fafa6aa6fc7">hide</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Hides the widget.  <a href="#a0825c3ccbd4999afc1a88fafa6aa6fc7"></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_1WWidget.html#a0c236e179d5b63c3c6e98cc69e28c9bf">animateHide</a> (const <a class="el" href="classWt_1_1WAnimation.html">WAnimation</a> &amp;animation)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Hides the widget using an animation.  <a href="#a0c236e179d5b63c3c6e98cc69e28c9bf"></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_1WWidget.html#a52dcef5a385ddfa0a8c3e6c20000f181">show</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Shows the widget.  <a href="#a52dcef5a385ddfa0a8c3e6c20000f181"></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_1WWidget.html#af01fbd9de70abd189c2f86171b6a1e02">animateShow</a> (const <a class="el" href="classWt_1_1WAnimation.html">WAnimation</a> &amp;animation)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Shows the widget using an animation.  <a href="#af01fbd9de70abd189c2f86171b6a1e02"></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_1WWidget.html#ae6935d8baca9d37dd1d080b4383da87c">enable</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables the widget.  <a href="#ae6935d8baca9d37dd1d080b4383da87c"></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_1WWidget.html#a5f68ea0ab29adfb8e559153fca281e03">disable</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Disable thes widget.  <a href="#a5f68ea0ab29adfb8e559153fca281e03"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a4b2f59f14feb7ce5e7d8d83d48ed5f35">layoutSizeAware</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the widget is layout size aware.  <a href="#a4b2f59f14feb7ce5e7d8d83d48ed5f35"></a><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="classWt_1_1WString.html">WString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#aa651f107ec7cf080faef6c435705fc44">tr</a> (const char *key)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Short hand for <a class="el" href="classWt_1_1WString.html#a0afc7dc0f9897456d71b569a86ca26c1" title="Creates a localized string from a key.">WString::tr()</a>  <a href="#aa651f107ec7cf080faef6c435705fc44"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a4f83592912a7f8fa4fd35dadde78ee74">setLayoutSizeAware</a> (bool sizeAware)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the widget to be aware of its size set by a layout manager.  <a href="#a4f83592912a7f8fa4fd35dadde78ee74"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#af432588db3d599f89b54121f2ede8d63">layoutSizeChanged</a> (int width, int height)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual method that indicates a size change.  <a href="#af432588db3d599f89b54121f2ede8d63"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a95c22589beb69717356b859bbfd20479">WWidget</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 widget.  <a href="#a95c22589beb69717356b859bbfd20479"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#ac436c4b99710b9199a9df3a8b4151a69">dropEvent</a> (<a class="el" href="classWt_1_1WDropEvent.html">WDropEvent</a> dropEvent)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Handles a drop event.  <a href="#ac436c4b99710b9199a9df3a8b4151a69"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a919a4eaf68ff52f06f6a726d55dfb768">enableAjax</a> ()=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Progresses to an Ajax-enabled widget.  <a href="#a919a4eaf68ff52f06f6a726d55dfb768"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#ab4cfd6bd5bea1a6182731ec79a78792c">boxPadding</a> (<a class="el" href="namespaceWt.html#a2a8d45559e16a0185bf61bfad0a67912">Orientation</a> orientation) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the widget's built-in padding.  <a href="#ab4cfd6bd5bea1a6182731ec79a78792c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a6bd6a9d01afbc4f96c4ec7dd48db9126">boxBorder</a> (<a class="el" href="namespaceWt.html#a2a8d45559e16a0185bf61bfad0a67912">Orientation</a> orientation) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the widget's built-in border width.  <a href="#a6bd6a9d01afbc4f96c4ec7dd48db9126"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#a2ac5699f1624b16d8ce6caf8086d6d31">propagateSetEnabled</a> (bool enabled)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Propagates that a widget was enabled or disabled through children.  <a href="#a2ac5699f1624b16d8ce6caf8086d6d31"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual WStatelessSlot *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WWidget.html#ac7b367f664ab2b12ef79003123a17a0e">getStateless</a> (<a class="el" href="classWt_1_1WObject.html#a6ef714d6ef0060b78c039e729b913aa9">Method</a> method)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">On-demand stateless slot implementation.  <a href="#ac7b367f664ab2b12ef79003123a17a0e"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>The abstract base class for a user-interface component. </p>
<p>The user-interface is organized in a tree structure, in which each nodes is a widgets. All widgets, except for the application's root widget and dialogs, have a parent which is usually a <a class="el" href="classWt_1_1WContainerWidget.html" title="A widget that holds and manages child widgets.">WContainerWidget</a>.</p>
<p>When a widget is deleted, it is also visually removed from the user-interface and all children are deleted recursively.</p>
<p>This is an abstract base class. Implementations derive either from the abstract <a class="el" href="classWt_1_1WWebWidget.html" title="A base class for widgets with an HTML counterpart.">WWebWidget</a> (for basic widgets with a direct HTML counter-part) or from the abstract <a class="el" href="classWt_1_1WCompositeWidget.html" title="A widget that hides the implementation of composite widgets.">WCompositeWidget</a> (for anything else). To add a WWebWidget directly to a parent container, either specify the parent in the constructor (which is conventionally the last constructor argument), or add the widget to the parent using <a class="el" href="classWt_1_1WContainerWidget.html#a2cfe66d9b62940f889e99538a9f478d2" title="Adds a child widget to this container.">WContainerWidget::addWidget()</a>. Alternatively, you may add the widget to a layout manager set for a WContainerWidget.</p>
<p>A widget provides methods to manage its decorative style base on CSS. It also provides access to CSS-based layout, which you may not use when the widget is not inserted into a layout manager. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="acbe32dd454131720fa9712bc866efb4b"></a><!-- doxytag: member="Wt::WWidget::~WWidget" ref="acbe32dd454131720fa9712bc866efb4b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::WWidget::~WWidget </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>
<p>Deletes a widget and all children (recursively). If the widget is contained in another widget, it is removed first.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WContainerWidget.html#a4292867b1872bd31c7d0c3346d988470" title="Removes a child widget from this container.">WContainerWidget::removeWidget()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a95c22589beb69717356b859bbfd20479"></a><!-- doxytag: member="Wt::WWidget::WWidget" ref="a95c22589beb69717356b859bbfd20479" args="(WContainerWidget *parent=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::WWidget::WWidget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classWt_1_1WContainerWidget.html">WContainerWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a widget. </p>
<p>When a parent container is specified, the widget is added to the container, using <a class="el" href="classWt_1_1WContainerWidget.html#a2cfe66d9b62940f889e99538a9f478d2" title="Adds a child widget to this container.">WContainerWidget::addWidget()</a>. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aebee4b24e8128c08ae4aa3682adf6d8f"></a><!-- doxytag: member="Wt::WWidget::acceptDrops" ref="aebee4b24e8128c08ae4aa3682adf6d8f" args="(const std::string &amp;mimeType, const WString &amp;hoverStyleClass=WString())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WWidget::acceptDrops </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>mimeType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;&#160;</td>
          <td class="paramname"><em>hoverStyleClass</em> = <code><a class="el" href="classWt_1_1WString.html">WString</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets a mime type to be accepted for dropping. </p>
<p>You may specify a style class that is applied to the widget when the specified mimetype hovers on top of it.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#ac436c4b99710b9199a9df3a8b4151a69" title="Handles a drop event.">dropEvent()</a>, <a class="el" href="classWt_1_1WInteractWidget.html#a556c14d02388720b1d95b2149be2e867" title="Configure dragging for drag and drop.">WInteractWidget::setDraggable()</a>, <a class="el" href="classWt_1_1WWidget.html#a89e4d70592dd34c277923cb793f73b66" title="Indicates that a mime type is no longer accepted for dropping.">stopAcceptDrops()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="abb5949e98f47edb7db98d7b6df07a31c"></a><!-- doxytag: member="Wt::WWidget::addStyleClass" ref="abb5949e98f47edb7db98d7b6df07a31c" args="(const WString &amp;styleClass, bool force=false)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::addStyleClass </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;&#160;</td>
          <td class="paramname"><em>styleClass</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>force</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds a CSS style class. </p>
<p>When <code>force</code> = <code>true</code>, a JavaScript call will be used to add the style class to the DOM element (if JavaScript is available). This may be necessary when client-side JavaScript manipulates the same style class. </p>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a34d13a22fd6224c9add77ebae2ae3bf7">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a8726dac662b5dc9c14bed0c6c182895d">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a0c236e179d5b63c3c6e98cc69e28c9bf"></a><!-- doxytag: member="Wt::WWidget::animateHide" ref="a0c236e179d5b63c3c6e98cc69e28c9bf" args="(const WAnimation &amp;animation)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WWidget::animateHide </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WAnimation.html">WAnimation</a> &amp;&#160;</td>
          <td class="paramname"><em>animation</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Hides the widget using an animation. </p>
<p>To hide the widget, the animation is replayed in reverse.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a66bdda41220267a8c7ff9865996e2675" title="Hides or shows the widget.">setHidden()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="af01fbd9de70abd189c2f86171b6a1e02"></a><!-- doxytag: member="Wt::WWidget::animateShow" ref="af01fbd9de70abd189c2f86171b6a1e02" args="(const WAnimation &amp;animation)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WWidget::animateShow </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WAnimation.html">WAnimation</a> &amp;&#160;</td>
          <td class="paramname"><em>animation</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Shows the widget using an animation. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a66bdda41220267a8c7ff9865996e2675" title="Hides or shows the widget.">setHidden()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a44679c4df92658912866d5a0469bbe95"></a><!-- doxytag: member="Wt::WWidget::attributeValue" ref="a44679c4df92658912866d5a0469bbe95" args="(const std::string &amp;name) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1WString.html">WString</a> Wt::WWidget::attributeValue </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns an attribute value. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#ad629ef6b7b9bc84999ff31dc0f2f3a12" title="Sets an attribute value.">setAttributeValue()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#ad09a17090d8f96f9b79ca250b559b247">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#ae4917baf01b575063686110c54726773">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a6bd6a9d01afbc4f96c4ec7dd48db9126"></a><!-- doxytag: member="Wt::WWidget::boxBorder" ref="a6bd6a9d01afbc4f96c4ec7dd48db9126" args="(Orientation orientation) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Wt::WWidget::boxBorder </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceWt.html#a2a8d45559e16a0185bf61bfad0a67912">Orientation</a>&#160;</td>
          <td class="paramname"><em>orientation</em></td><td>)</td>
          <td> const<code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the widget's built-in border width. </p>
<p>This is used by the layout managers to correct for a built-in border which interferes with setting a widget's width (or height) to 100%.</p>
<p>A layout manager needs to set the width to 100% only for form widgets (<a class="el" href="classWt_1_1WTextArea.html" title="A widget that provides a multi-line edit.">WTextArea</a>, <a class="el" href="classWt_1_1WLineEdit.html" title="A widget that provides a single line edit.">WLineEdit</a>, <a class="el" href="classWt_1_1WComboBox.html" title="A widget that provides a drop-down combo-box control.">WComboBox</a>, etc...). Therefore, only for those widgets this needs to return the border width (the default implementation returns 0).</p>
<p>For form widgets, the border width depends on the specific browser/platform combination, unless an explicit border is set for the widget.</p>
<p>When setting an explicit border for the widget using a style class, you will want to reimplement this method to return this border width, in case you want to set the widget inside a layout manager.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#ab4cfd6bd5bea1a6182731ec79a78792c" title="Returns the widget&#39;s built-in padding.">boxPadding()</a> </dd></dl>

<p>Reimplemented in <a class="el" href="classWt_1_1WLineEdit.html#a337dcba8f79f886b86c0d9bf7b721c75">Wt::WLineEdit</a>, <a class="el" href="classWt_1_1WTextEdit.html#ac946e268b85e49d1155c656f354f00cb">Wt::WTextEdit</a>, <a class="el" href="classWt_1_1WCompositeWidget.html#aba02aeb3e18700f8e530021b0131b5ef">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WTextArea.html#a3379006d7dbe832b617303b72924019c">Wt::WTextArea</a>.</p>

</div>
</div>
<a class="anchor" id="ab4cfd6bd5bea1a6182731ec79a78792c"></a><!-- doxytag: member="Wt::WWidget::boxPadding" ref="ab4cfd6bd5bea1a6182731ec79a78792c" args="(Orientation orientation) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Wt::WWidget::boxPadding </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceWt.html#a2a8d45559e16a0185bf61bfad0a67912">Orientation</a>&#160;</td>
          <td class="paramname"><em>orientation</em></td><td>)</td>
          <td> const<code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the widget's built-in padding. </p>
<p>This is used by the layout managers to correct for a built-in padding which interferes with setting a widget's width (or height) to 100%.</p>
<p>A layout manager needs to set the width to 100% only for form widgets (<a class="el" href="classWt_1_1WTextArea.html" title="A widget that provides a multi-line edit.">WTextArea</a>, <a class="el" href="classWt_1_1WLineEdit.html" title="A widget that provides a single line edit.">WLineEdit</a>, <a class="el" href="classWt_1_1WComboBox.html" title="A widget that provides a drop-down combo-box control.">WComboBox</a>, etc...). Therefore, only for those widgets this needs to return the padding (the default implementation returns 0).</p>
<p>For form widgets, the padding depends on the specific browser/platform combination, unless an explicit padding is set for the widget.</p>
<p>When setting an explicit padding for the widget using a style class, you will want to reimplement this method to return this padding in case you want to set the widget inside a layout manager.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a6bd6a9d01afbc4f96c4ec7dd48db9126" title="Returns the widget&#39;s built-in border width.">boxBorder()</a> </dd></dl>

<p>Reimplemented in <a class="el" href="classWt_1_1WLineEdit.html#af347d0ad651b76abea5ee5dcae295db1">Wt::WLineEdit</a>, <a class="el" href="classWt_1_1WTextEdit.html#ab268ab5bfd2edda2bf64dad5cd068abe">Wt::WTextEdit</a>, <a class="el" href="classWt_1_1WCompositeWidget.html#a2f8fa4fb1ac7bd056ad9801f9b4cbd6c">Wt::WCompositeWidget</a>, <a class="el" href="classWt_1_1WTextArea.html#a83a327ce1d6408a99991cd6b5ddc74e4">Wt::WTextArea</a>, and <a class="el" href="classWt_1_1WAbstractSpinBox.html#aa55e6a2ea1a13091e65b22c0118a900b">Wt::WAbstractSpinBox</a>.</p>

</div>
</div>
<a class="anchor" id="ac9839a243ba5f98e7962d1c0dfc20813"></a><!-- doxytag: member="Wt::WWidget::callJavaScriptMember" ref="ac9839a243ba5f98e7962d1c0dfc20813" args="(const std::string &amp;name, const std::string &amp;args)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::callJavaScriptMember </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>args</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Calls a JavaScript member. </p>
<p>This calls a JavaScript member.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#ab876fc1b7d2e4e5dfc631e380d406ae2" title="Sets a JavaScript member.">setJavaScriptMember()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a8cd31dbb0a880e9eaa6986eceb4b9294">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a1e46b28cb1c06e7ffe2acf0eac474fe2">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a7657fb67f7ec42b7374b7f64f85e6030"></a><!-- doxytag: member="Wt::WWidget::clearSides" ref="a7657fb67f7ec42b7374b7f64f85e6030" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual WFlags&lt;<a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3">Side</a>&gt; Wt::WWidget::clearSides </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the sides that should remain empty. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a1919e2e3628bb4e4b74517605b5062c5" title="Sets the sides that should be cleared of floats.">setClearSides(WFlags&lt;Side&gt;)</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#afd1851de313ece3771438ea66f7b7fb5">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#abcd53cd6a4b27ef01576ea2525fd6a92">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="ac1833c7c01599b3733712ab0bf3c3a0a"></a><!-- doxytag: member="Wt::WWidget::decorationStyle" ref="ac1833c7c01599b3733712ab0bf3c3a0a" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1WCssDecorationStyle.html">WCssDecorationStyle</a>&amp; Wt::WWidget::decorationStyle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the decoration style of this widget. </p>
<p>This groups all decorative aspects of the widget, which do not affect the widget layout (except for the border properties which may behave like extra margin around the widget).</p>
<p>When a decoration style has not been previously set, it returns a default decoration style object.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a091e1fb88d9bbd8818d061af43c618b4" title="Sets a CSS decoration style.">setDecorationStyle()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a9defbf26c8bc2310963e858613f25518">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#ad1eb3d24f374cb311ef88e43b3036503">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a5f68ea0ab29adfb8e559153fca281e03"></a><!-- doxytag: member="Wt::WWidget::disable" ref="a5f68ea0ab29adfb8e559153fca281e03" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WWidget::disable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Disable thes widget. </p>
<p>This calls <a class="el" href="classWt_1_1WWidget.html#ae29fe35b633ec166f922419cd3ca9d96">setDisabled(true)</a>. </p>

<p>Reimplemented in <a class="el" href="classWt_1_1Ext_1_1Component.html#a70cd13699ca9e39c41b774b77d8c0c3d">Wt::Ext::Component</a>.</p>

</div>
</div>
<a class="anchor" id="a2a8afe6d6f85af864df5cbd49ff6a0c5"></a><!-- doxytag: member="Wt::WWidget::doJavaScript" ref="a2a8afe6d6f85af864df5cbd49ff6a0c5" args="(const std::string &amp;js)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::doJavaScript </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>js</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Executes the given JavaScript statements when the widget is rendered or updated. </p>
<p>Calling <a class="el" href="classWt_1_1WApplication.html#a2a92457b9212cef4057cb54e56183967" title="Executes some JavaScript code.">WApplication::doJavaScript()</a> with JavaScript code that refers to a widget using <a class="el" href="classWt_1_1WWidget.html#aa2b7078b3b43d53a85e5244b45d504f7" title="Returns a JavaScript expression to the corresponding DOM node.">jsRef()</a>, that is still to be rendered may cause JavaScript errors because the corresponding DOM node does not exist. This happens for example when a widget is created, but not yet inserted in the widget tree.</p>
<p>This method guarantees that the JavaScript code is only run when the corresponding DOM node (using <a class="el" href="classWt_1_1WWidget.html#aa2b7078b3b43d53a85e5244b45d504f7" title="Returns a JavaScript expression to the corresponding DOM node.">jsRef()</a>) resolves to a valid DOM object.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#aa2b7078b3b43d53a85e5244b45d504f7" title="Returns a JavaScript expression to the corresponding DOM node.">jsRef()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a159456e656af966117936b9024de4ca2">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#af43f26be9808bbc80b3b1794567d5613">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="ac436c4b99710b9199a9df3a8b4151a69"></a><!-- doxytag: member="Wt::WWidget::dropEvent" ref="ac436c4b99710b9199a9df3a8b4151a69" args="(WDropEvent dropEvent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WWidget::dropEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classWt_1_1WDropEvent.html">WDropEvent</a>&#160;</td>
          <td class="paramname"><em>dropEvent</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Handles a drop event. </p>
<p>Reimplement this method to handle a drop events for mime types you declared to accept using acceptDrops.</p>
<p>The default implementation simply completes the drag and drop operation as if nothing happened.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#aebee4b24e8128c08ae4aa3682adf6d8f" title="Sets a mime type to be accepted for dropping.">acceptDrops()</a>, <a class="el" href="classWt_1_1WInteractWidget.html#a556c14d02388720b1d95b2149be2e867" title="Configure dragging for drag and drop.">WInteractWidget::setDraggable()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ae6935d8baca9d37dd1d080b4383da87c"></a><!-- doxytag: member="Wt::WWidget::enable" ref="ae6935d8baca9d37dd1d080b4383da87c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WWidget::enable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enables the widget. </p>
<p>This calls <a class="el" href="classWt_1_1WWidget.html#ae29fe35b633ec166f922419cd3ca9d96">setDisabled(false)</a>. </p>

<p>Reimplemented in <a class="el" href="classWt_1_1Ext_1_1Component.html#a9f1bbc312ef663d05191b777f1bc9052">Wt::Ext::Component</a>.</p>

</div>
</div>
<a class="anchor" id="a919a4eaf68ff52f06f6a726d55dfb768"></a><!-- doxytag: member="Wt::WWidget::enableAjax" ref="a919a4eaf68ff52f06f6a726d55dfb768" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::enableAjax </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Progresses to an Ajax-enabled widget. </p>
<p>This method is called when the progressive bootstrap method is used, and support for AJAX has been detected. The default behavior will upgrade the widget's event handling to use AJAX instead of full page reloads, and propagate the call to its children.</p>
<p>You may want to reimplement this method if you want to make changes to widget when AJAX is enabled. You should always call the base implementation.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WApplication.html#a78016406c4746c56b2c2ffce7c5e181f" title="Progresses to an Ajax-enabled user interface.">WApplication::enableAjax()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WTemplate.html#aafe27c3c2f89359a5c02112da3b155ab">Wt::WTemplate</a>, <a class="el" href="classWt_1_1WMenu.html#aea92a8e3abe2ac6130eb93acec605ec9">Wt::WMenu</a>, <a class="el" href="classWt_1_1WAnchor.html#a188c6f7fa64408e9214c08292974834d">Wt::WAnchor</a>, <a class="el" href="classWt_1_1WFileUpload.html#ad23982f1823db145b0da23508a7aa7fa">Wt::WFileUpload</a>, <a class="el" href="classWt_1_1WTreeView.html#a11f8eb2390ce4585b99344e540fef8b1">Wt::WTreeView</a>, <a class="el" href="classWt_1_1WWebWidget.html#a8e1d7c93f533be68e3d4ee34f65486fd">Wt::WWebWidget</a>, <a class="el" href="classWt_1_1WPaintedWidget.html#a15c48f15b7b920ab2577caade798a2fd">Wt::WPaintedWidget</a>, <a class="el" href="classWt_1_1WFormWidget.html#a503448cefdd06c5fe18bf13e911e8bb8">Wt::WFormWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a90e07c1bb6c48732ed4b5d98f91cfda0">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a96e9c88d9ed79acccf3edf2bb00c0126"></a><!-- doxytag: member="Wt::WWidget::find" ref="a96e9c88d9ed79acccf3edf2bb00c0126" args="(const std::string &amp;name)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1WWidget.html">WWidget</a>* Wt::WWidget::find </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Finds a descendent widget by name. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WObject.html#a64ce31cadb378c4eba81224f43bf493d" title="Sets an object name.">setObjectName()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a8db72629ac2e7f4ec39a5ff1e67742c6">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a7afbf99afdb3fca030b01ac0b958f42d">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a78041b1bcd9b811fa4771d19005a585a"></a><!-- doxytag: member="Wt::WWidget::floatSide" ref="a78041b1bcd9b811fa4771d19005a585a" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> Wt::WWidget::floatSide </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the CSS float side. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a2915d313e6934173c087bf8212024289" title="Specifies a CSS float side.">setFloatSide(Side)</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a7ee582e32e077e7ef00e65b6e53e1442">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a26b73581331aebc3f50036442aa5e107">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="ac7b367f664ab2b12ef79003123a17a0e"></a><!-- doxytag: member="Wt::WWidget::getStateless" ref="ac7b367f664ab2b12ef79003123a17a0e" args="(Method method)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">WStatelessSlot * Wt::WWidget::getStateless </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classWt_1_1WObject.html#a6ef714d6ef0060b78c039e729b913aa9">Method</a>&#160;</td>
          <td class="paramname"><em>method</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>On-demand stateless slot implementation. </p>
<p>This method returns a stateless slot implementation for the given <code>method</code>. To avoid the cost of declaring methods to be stateless when they are not used, you may reimplement this method to provide a stateless implementation for a method only when the method is involved in a slot connection.</p>
<p>Use <a class="el" href="classWt_1_1WObject.html#adaa163b9e92933f3b2ff4ec58e2734c6" title="Declares a slot to be stateless and learn client-side behaviour on first invocation.">implementStateless()</a> to provide a stateless implementation of the given <code>method</code>, or return the base class implementation otherwise. </p>

<p>Reimplemented from <a class="el" href="classWt_1_1WObject.html#aae1e4d3444723814adfc9717e14b693a">Wt::WObject</a>.</p>

<p>Reimplemented in <a class="el" href="classWt_1_1WFormWidget.html#ae6f44795e053299e31a3ab3e433c7deb">Wt::WFormWidget</a>, and <a class="el" href="classWt_1_1WAbstractToggleButton.html#a7f686a8fc96dbecac79b58271c7dbb00">Wt::WAbstractToggleButton</a>.</p>

</div>
</div>
<a class="anchor" id="a9454454144fe3729378c87c3b90372b4"></a><!-- doxytag: member="Wt::WWidget::height" ref="a9454454144fe3729378c87c3b90372b4" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> Wt::WWidget::height </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the height. </p>
<p>Returns the height set for this widget. This is not a calculated height, based on layout, but the height as specified previously with <a class="el" href="classWt_1_1WWidget.html#a5bebad8f1582b8bebf01a9ed0ee11972" title="Resizes the widget.">resize(const WLength&amp; width, const WLength&amp; height)</a>.</p>
<p>This applies to CSS-based layout.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a5bebad8f1582b8bebf01a9ed0ee11972" title="Resizes the widget.">resize(const WLength&amp;, const WLength&amp;)</a>, <a class="el" href="classWt_1_1WWidget.html#a3f423e20a9b0792c1bc3d52899065e82" title="Returns the width.">width()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a890a25fe2e8567525f44c0d2ecf0547b">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#ab20c559ba960c80be16572293df7fd96">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="ac556bf0e3087b238a98f25b77b9d529c"></a><!-- doxytag: member="Wt::WWidget::hiddenKeepsGeometry" ref="ac556bf0e3087b238a98f25b77b9d529c" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool Wt::WWidget::hiddenKeepsGeometry </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the widget keeps its geometry when hidden. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a8cd985ab1dfcee828c7b6189a7e052a5" title="Sets whether the widget keeps its geometry when hidden.">setHiddenKeepsGeometry()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a4eec4f6c43eeec3a71241b146d21e481">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#ae2f77711839f8dfe9dcc378ced66099b">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a0825c3ccbd4999afc1a88fafa6aa6fc7"></a><!-- doxytag: member="Wt::WWidget::hide" ref="a0825c3ccbd4999afc1a88fafa6aa6fc7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WWidget::hide </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Hides the widget. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a66bdda41220267a8c7ff9865996e2675" title="Hides or shows the widget.">setHidden()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aaae07190fb97d856149226ea315a75d0"></a><!-- doxytag: member="Wt::WWidget::htmlText" ref="aaae07190fb97d856149226ea315a75d0" args="(std::ostream &amp;out)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WWidget::htmlText </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>out</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Streams the (X)HTML representation. </p>
<p>Streams the widget as UTF8-encoded (HTML-compatible) XHTML.</p>
<p>This may be useful as a debugging tool for the web-savvy, or in other rare situations. Usually, you will not deal directly with HTML, and calling this method on a widget that is rendered may interfere with the library keeping track of changes to the widget. </p>

</div>
</div>
<a class="anchor" id="a8c806a873adad31035122a3b465d3da2"></a><!-- doxytag: member="Wt::WWidget::isDisabled" ref="a8c806a873adad31035122a3b465d3da2" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool Wt::WWidget::isDisabled </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the widget is set disabled. </p>
<p>A widget that is not set disabled may still be disabled when one of its ancestor widgets is set disabled. Use <a class="el" href="classWt_1_1WWidget.html#ae091783ebd393c04f026133069b874d3" title="Returns whether the widget is enabled.">isEnabled()</a> to find out whether a widget is enabled.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#ae29fe35b633ec166f922419cd3ca9d96" title="Sets whether the widget is disabled.">setDisabled()</a>, <a class="el" href="classWt_1_1WWidget.html#ae091783ebd393c04f026133069b874d3" title="Returns whether the widget is enabled.">isEnabled()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a65dab646c3ecc9f1d329272933993721">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a9f814b5ca1939d1e43a4f4c8b00bfbf2">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="ae091783ebd393c04f026133069b874d3"></a><!-- doxytag: member="Wt::WWidget::isEnabled" ref="ae091783ebd393c04f026133069b874d3" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool Wt::WWidget::isEnabled </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the widget is enabled. </p>
<p>A widget is enabled if it is not disabled, and none of its ancestors are disabled. This method returns whether the widget is rendered as enabled, while <a class="el" href="classWt_1_1WWidget.html#a8c806a873adad31035122a3b465d3da2" title="Returns whether the widget is set disabled.">isDisabled()</a> returns whether a widget has been explicitly disabled.</p>
<p>Note that a widget may be at the same time not enabled, and not disabled, in case one of its ancestors was disabled.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a8c806a873adad31035122a3b465d3da2" title="Returns whether the widget is set disabled.">isDisabled()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WInteractWidget.html#a6400f1359677b000c182b945d5705629">Wt::WInteractWidget</a>, <a class="el" href="classWt_1_1WWebWidget.html#a6de8945a027bb50e3b2f699e53492514">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a8dd8bb72da33fd11072acb25ed585c2b">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a76a29fd7fa9fa9a6e15e3a450f24a381"></a><!-- doxytag: member="Wt::WWidget::isHidden" ref="a76a29fd7fa9fa9a6e15e3a450f24a381" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool Wt::WWidget::isHidden </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the widget is set hidden. </p>
<p>A widget that is not hidden may still be not visible when one of its ancestor widgets is hidden. Use <a class="el" href="classWt_1_1WWidget.html#a450f94dc5a28737625cdb6bde3fdc788" title="Returns whether the widget is visible.">isVisible()</a> to check the visibility of a widget.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a66bdda41220267a8c7ff9865996e2675" title="Hides or shows the widget.">setHidden()</a>, <a class="el" href="classWt_1_1WWidget.html#a450f94dc5a28737625cdb6bde3fdc788" title="Returns whether the widget is visible.">isVisible()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#ad565084bebed7abe45a659f6ba7101cf">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#ac22140fb020018e0d855ad524c6effff">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="afa7a21fbd173d6ee83c2aa9cc11e2ac1"></a><!-- doxytag: member="Wt::WWidget::isInline" ref="afa7a21fbd173d6ee83c2aa9cc11e2ac1" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool Wt::WWidget::isInline </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the widget is displayed inline or as block. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#ac78e3af143883334c82031790c87416e" title="Sets whether the widget is displayed inline or as a block.">setInline(bool)</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#aea2a03a8fc7b34de965dac6ef2708405">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#aa82c263fd93dda5dd21baa74b979441f">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a29f3361a8c518dabc1251892da55dd6d"></a><!-- doxytag: member="Wt::WWidget::isPopup" ref="a29f3361a8c518dabc1251892da55dd6d" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool Wt::WWidget::isPopup </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the widget is overlayed. </p>
<p>This applies to CSS-based layout.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a3890a2ef04571b6d36e7468583457091" title="Lets the widget overlay over other sibling widgets.">setPopup(bool)</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a30bb302b7a88261158e26de67017f0ad">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a6b2ad79236863c701e08553146987045">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a20624c7c7cdd8b0dd3c3b51ed36c3bb1"></a><!-- doxytag: member="Wt::WWidget::isRendered" ref="a20624c7c7cdd8b0dd3c3b51ed36c3bb1" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::WWidget::isRendered </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the widget is rendered. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#aa2b7078b3b43d53a85e5244b45d504f7" title="Returns a JavaScript expression to the corresponding DOM node.">jsRef()</a> </dd></dl>

<p>Reimplemented in <a class="el" href="classWt_1_1WWebWidget.html#a8bf661fb5adba8aad8bcf112829824d5">Wt::WWebWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a450f94dc5a28737625cdb6bde3fdc788"></a><!-- doxytag: member="Wt::WWidget::isVisible" ref="a450f94dc5a28737625cdb6bde3fdc788" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool Wt::WWidget::isVisible </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the widget is visible. </p>
<p>A widget is visible if it is not hidden, and none of its ancestors are hidden. This method returns the true visibility, while <a class="el" href="classWt_1_1WWidget.html#a76a29fd7fa9fa9a6e15e3a450f24a381" title="Returns whether the widget is set hidden.">isHidden()</a> returns whether a widget has been explicitly hidden.</p>
<p>Note that a widget may be at the same time not hidden, and not visible, in case one of its ancestors was hidden.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a76a29fd7fa9fa9a6e15e3a450f24a381" title="Returns whether the widget is set hidden.">isHidden()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a751a49ab835e4ffb72d5826c87adc494">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a1ae4501ce5807c22b71532d9fd564337">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a78a539cfd49a8927a196de66362c37e9"></a><!-- doxytag: member="Wt::WWidget::javaScriptMember" ref="a78a539cfd49a8927a196de66362c37e9" args="(const std::string &amp;name) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual std::string Wt::WWidget::javaScriptMember </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the value of a JavaScript member. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#ab876fc1b7d2e4e5dfc631e380d406ae2" title="Sets a JavaScript member.">setJavaScriptMember()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a5520ddc1bb77b41217fe1b655b70bf32">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a138b2c77df870d0c294416a44bcf99f9">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="aa2b7078b3b43d53a85e5244b45d504f7"></a><!-- doxytag: member="Wt::WWidget::jsRef" ref="aa2b7078b3b43d53a85e5244b45d504f7" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Wt::WWidget::jsRef </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a JavaScript expression to the corresponding DOM node. </p>
<p>You may want to use this in conjunction with <a class="el" href="classWt_1_1JSlot.html" title="A slot that is only implemented in client side JavaScript code.">JSlot</a> or <a class="el" href="classWt_1_1WWidget.html#a2a8afe6d6f85af864df5cbd49ff6a0c5" title="Executes the given JavaScript statements when the widget is rendered or updated.">doJavaScript()</a> in custom JavaScript code.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a20624c7c7cdd8b0dd3c3b51ed36c3bb1" title="Returns whether the widget is rendered.">isRendered()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a4b2f59f14feb7ce5e7d8d83d48ed5f35"></a><!-- doxytag: member="Wt::WWidget::layoutSizeAware" ref="a4b2f59f14feb7ce5e7d8d83d48ed5f35" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::WWidget::layoutSizeAware </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the widget is layout size aware. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a4f83592912a7f8fa4fd35dadde78ee74" title="Sets the widget to be aware of its size set by a layout manager.">setLayoutSizeAware()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="af432588db3d599f89b54121f2ede8d63"></a><!-- doxytag: member="Wt::WWidget::layoutSizeChanged" ref="af432588db3d599f89b54121f2ede8d63" args="(int width, int height)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WWidget::layoutSizeChanged </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Virtual method that indicates a size change. </p>
<p>This method propagates the client-side width and height of the widget when the widget is contained by a layout manager and setLayoutSizeAware(true) was called.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a4f83592912a7f8fa4fd35dadde78ee74" title="Sets the widget to be aware of its size set by a layout manager.">setLayoutSizeAware()</a> </dd></dl>

<p>Reimplemented in <a class="el" href="classWt_1_1WGLWidget.html#a596e6780d7390138d440c2f37bca288f">Wt::WGLWidget</a>, <a class="el" href="classWt_1_1WSlider.html#a250baa8de6f9dc769dd0b1cbd4c05fe9">Wt::WSlider</a>, and <a class="el" href="classWt_1_1WPaintedWidget.html#a0c4a7fd06c6e3092283dedc02214f64e">Wt::WPaintedWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a162f32ce7482e7c3121d18585555909a"></a><!-- doxytag: member="Wt::WWidget::lineHeight" ref="a162f32ce7482e7c3121d18585555909a" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> Wt::WWidget::lineHeight </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the CSS line height for contained text. </p>
<p>sa <a class="el" href="classWt_1_1WWidget.html#a0763f0e672e5cf673141405dc8e796bb" title="Sets the CSS line height for contained text.">setLineHeight()</a> </p>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a77bfc9607e7ffd2a9a8214563d8e3a31">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a2132b8941b1f5d7febfea902f9625d39">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a1ee433705523b2b79c4c3539e0852c92"></a><!-- doxytag: member="Wt::WWidget::load" ref="a1ee433705523b2b79c4c3539e0852c92" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::load </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Loads content just before the widget is used. </p>
<p>When the widget is inserted in the widget hierarchy, this method is called. Widgets that get inserted in the widget hierarchy will be rendered. Visible widgets are rendered immediately, and invisible widgets in the back-ground (or not for a plain HTML session). This method is called when the widget is directly or indirectly inserted into the widget tree.</p>
<p>The default implementation simply propagates the load signal to its children. You may want to override this method to delay loading of resource-intensive contents.</p>
<p>During the life-time of a widget, this method may be called multiple times, so you should make sure that you do a deferred initializiation only once. </p>

<p>Implemented in <a class="el" href="classWt_1_1WInteractWidget.html#ae7ded9ad52a90fce9d54e8d1c299fd72">Wt::WInteractWidget</a>, <a class="el" href="classWt_1_1WPopupMenuItem.html#ac5bc72416b24de408e5a8c61362e6230">Wt::WPopupMenuItem</a>, <a class="el" href="classWt_1_1WWebWidget.html#a1afb15f5c5d76a22705b9fd4b4441aee">Wt::WWebWidget</a>, <a class="el" href="classWt_1_1WCompositeWidget.html#adab4431e472ee5398e6c97420003ffdb">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WViewWidget.html#aa7865b89645f229c4dbfc6eb9ddf46d4">Wt::WViewWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a1aa5c2496715bb582a584ebcdd97a6d0"></a><!-- doxytag: member="Wt::WWidget::loaded" ref="a1aa5c2496715bb582a584ebcdd97a6d0" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool Wt::WWidget::loaded </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether this widget has been loaded. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a1ee433705523b2b79c4c3539e0852c92" title="Loads content just before the widget is used.">load()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a57c733f61770b5751f1b4db6a08f4103">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a23066e3ab76634bef5ed39396603f56c">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a8b7c40b966518e22543d290229fbd29f"></a><!-- doxytag: member="Wt::WWidget::margin" ref="a8b7c40b966518e22543d290229fbd29f" args="(Side side) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> Wt::WWidget::margin </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3">Side</a>&#160;</td>
          <td class="paramname"><em>side</em></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a CSS margin set. </p>
<p>This applies to CSS-based layout.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#aa4f27573eae7875d0fc538e37bc191a0" title="Sets CSS margins around the widget.">setMargin()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a1ffcfb141e9e41185b14eaafea63d8f0">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a06555482bd1410ce970165c71a8e22e8">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="af2f6d29c4e5a88bdd12a180e125490cd"></a><!-- doxytag: member="Wt::WWidget::maximumHeight" ref="af2f6d29c4e5a88bdd12a180e125490cd" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> Wt::WWidget::maximumHeight </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the maximum height. </p>
<p>Returns the minmum height set for this widget with <a class="el" href="classWt_1_1WWidget.html#af023064cf8007bda6baeb5277d79bbd9" title="Sets a maximum size.">setMaximumSize()</a>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#af023064cf8007bda6baeb5277d79bbd9" title="Sets a maximum size.">setMaximumSize()</a>, <a class="el" href="classWt_1_1WWidget.html#a733c78b3d54dc355adf6ee05c69bf219" title="Returns the maximum width.">maximumWidth()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#ad15f255ef32fc1e1e9317a3e29bafcf0">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a2b37e2f64cd18ec77b0fdcd5e2adf791">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a733c78b3d54dc355adf6ee05c69bf219"></a><!-- doxytag: member="Wt::WWidget::maximumWidth" ref="a733c78b3d54dc355adf6ee05c69bf219" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> Wt::WWidget::maximumWidth </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the maximum width. </p>
<p>Returns the maximum width set for this widget with <a class="el" href="classWt_1_1WWidget.html#af023064cf8007bda6baeb5277d79bbd9" title="Sets a maximum size.">setMaximumSize()</a>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#af023064cf8007bda6baeb5277d79bbd9" title="Sets a maximum size.">setMaximumSize()</a>, <a class="el" href="classWt_1_1WWidget.html#af2f6d29c4e5a88bdd12a180e125490cd" title="Returns the maximum height.">maximumHeight()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a4ad12e7751baac68a23ce1d7f32754a0">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a24acfbaf36c581e0d1bd07d2c477decb">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a411b6bbac918eeb19946d65c4352beb1"></a><!-- doxytag: member="Wt::WWidget::minimumHeight" ref="a411b6bbac918eeb19946d65c4352beb1" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> Wt::WWidget::minimumHeight </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the minimum height. </p>
<p>Returns the minmum height set for this widget with <a class="el" href="classWt_1_1WWidget.html#a092c7d1ecfde7f004ef120389d91775d" title="Sets a minimum size.">setMinimumSize()</a>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a092c7d1ecfde7f004ef120389d91775d" title="Sets a minimum size.">setMinimumSize()</a>, <a class="el" href="classWt_1_1WWidget.html#af5847c8028f501b51d74184107ccdde6" title="Returns the minimum width.">minimumWidth()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#aede7ba534d7b35fdea5462fc9e56fe80">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a3289852d4a8a268fc8ee2c4c474bce15">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="af5847c8028f501b51d74184107ccdde6"></a><!-- doxytag: member="Wt::WWidget::minimumWidth" ref="af5847c8028f501b51d74184107ccdde6" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> Wt::WWidget::minimumWidth </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the minimum width. </p>
<p>Returns the minimum width set for this widget with <a class="el" href="classWt_1_1WWidget.html#a092c7d1ecfde7f004ef120389d91775d" title="Sets a minimum size.">setMinimumSize()</a>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a092c7d1ecfde7f004ef120389d91775d" title="Sets a minimum size.">setMinimumSize()</a>, <a class="el" href="classWt_1_1WWidget.html#a411b6bbac918eeb19946d65c4352beb1" title="Returns the minimum height.">minimumHeight()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#ae58e3c208acd35e66b2146ecdb0e6b01">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#ab14d3fa5b63d36c1df1148f49b62e92a">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a08e07b6d0ca355a3fe2c7dead3dde228"></a><!-- doxytag: member="Wt::WWidget::offset" ref="a08e07b6d0ca355a3fe2c7dead3dde228" args="(Side side) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> Wt::WWidget::offset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3">Side</a>&#160;</td>
          <td class="paramname"><em>side</em></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a CSS offset. </p>
<p>This applies to CSS-based layout.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a0b60b3e6d868689071fe3f828d550ae2" title="Sets CSS offsets for a non-statically positioned widget.">setOffsets(const WLength&amp;, WFlags&lt;Side&gt;)</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a09895c1326b1cb352fcdac416340a6c1">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a55d5b1a5d852863ed29dbea622e67efc">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a3461e31818c4d2f516641bdaf508312a"></a><!-- doxytag: member="Wt::WWidget::parent" ref="a3461e31818c4d2f516641bdaf508312a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1WWidget.html">WWidget</a>* Wt::WWidget::parent </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the parent widget. </p>
<p>With a few exceptions, the parent is a <a class="el" href="classWt_1_1WContainerWidget.html" title="A widget that holds and manages child widgets.">WContainerWidget</a>, and has been set implicitly when adding the widget to a container using <a class="el" href="classWt_1_1WContainerWidget.html#a2cfe66d9b62940f889e99538a9f478d2" title="Adds a child widget to this container.">WContainerWidget::addWidget()</a>, by passing a container as a parent to the constructor, or by inserting the widget into a layout manager. </p>

<p>Reimplemented from <a class="el" href="classWt_1_1WObject.html#a2af8f7ec8d3807d434e1f70d1245c6b4">Wt::WObject</a>.</p>

</div>
</div>
<a class="anchor" id="aef120ad789aec5ee406c2e312efeb4b5"></a><!-- doxytag: member="Wt::WWidget::positionAt" ref="aef120ad789aec5ee406c2e312efeb4b5" args="(const WWidget *widget, Orientation orientation=Vertical)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WWidget::positionAt </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WWidget.html">WWidget</a> *&#160;</td>
          <td class="paramname"><em>widget</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceWt.html#a2a8d45559e16a0185bf61bfad0a67912">Orientation</a>&#160;</td>
          <td class="paramname"><em>orientation</em> = <code>Vertical</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Positions a widget next to another widget. </p>
<p>Positions this absolutely positioned widget next to another <code>widget</code>. Both widgets must be visible.</p>
<p>When <code>orientation</code> = <a class="el" href="namespaceWt.html#a2a8d45559e16a0185bf61bfad0a67912af916b7ec24727db2d972f0770170c7f5" title="Vertical.">Wt::Vertical</a>, the widget is displayed below the other widget (or above in case there is not enough room below). It is aligned so that the left edges align (or the right edges if there is not enough room to the right).</p>
<p>Conversely, when <code>orientation</code> = <a class="el" href="namespaceWt.html#a2a8d45559e16a0185bf61bfad0a67912ac2ebf22b096a22b18eef23e736aa2e28" title="Horizontal.">Wt::Horizontal</a>, the widget is displayed to the right of the other widget (or to the left in case there is not enough room to the right). It is aligned so that the top edges align (or the bottom edges if there is not enough room below).</p>
<dl class="note"><dt><b>Note:</b></dt><dd>This only works if JavaScript is available. </dd></dl>

<p>Reimplemented in <a class="el" href="classWt_1_1WDialog.html#ac4c7bf687dc714ede0b39fdc9af6c66f">Wt::WDialog</a>.</p>

</div>
</div>
<a class="anchor" id="aea3a7c21d936d34f28b42143aba4edd5"></a><!-- doxytag: member="Wt::WWidget::positionScheme" ref="aea3a7c21d936d34f28b42143aba4edd5" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceWt.html#a2551043da5512cfe7b857c5db6e5ae40">PositionScheme</a> Wt::WWidget::positionScheme </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the CSS position scheme. </p>
<p>This applies to CSS-based layout.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="namespaceWt.html#a2551043da5512cfe7b857c5db6e5ae40" title="Enumeration that specifies a layout mechanism for a widget.">Wt::PositionScheme</a>, <a class="el" href="classWt_1_1WWidget.html#ae15ffe92fdc5c394013d61b5bebb2f11" title="Sets the CSS position scheme.">setPositionScheme(PositionScheme)</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#aa35fc75e2d832c3c30044e25b19bf3aa">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#ae7e478fe175f9af64e0de726494bbab6">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a2ac5699f1624b16d8ce6caf8086d6d31"></a><!-- doxytag: member="Wt::WWidget::propagateSetEnabled" ref="a2ac5699f1624b16d8ce6caf8086d6d31" args="(bool enabled)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::propagateSetEnabled </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enabled</em></td><td>)</td>
          <td><code> [protected, pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Propagates that a widget was enabled or disabled through children. </p>
<p>When enabling or disabling a widget, you usually also want to disable contained children. This method is called by <a class="el" href="classWt_1_1WWidget.html#ae29fe35b633ec166f922419cd3ca9d96" title="Sets whether the widget is disabled.">setDisabled()</a> to propagate its state to all children.</p>
<p>You may want to reimplement this method if they wish to render differently when a widget is disabled. The default implementation will propagate the signal to all children. </p>

<p>Implemented in <a class="el" href="classWt_1_1WFileUpload.html#a6fae9def0a20fba88ce79dc10e7cb922">Wt::WFileUpload</a>, <a class="el" href="classWt_1_1WInteractWidget.html#ac331a4996af95f7a60264f67d51a74d2">Wt::WInteractWidget</a>, <a class="el" href="classWt_1_1WWebWidget.html#a5ee7b99b325332f4087a45dbac61c8cd">Wt::WWebWidget</a>, <a class="el" href="classWt_1_1WFormWidget.html#aff5d72ac52040b97a77c21b0b38d44c8">Wt::WFormWidget</a>, <a class="el" href="classWt_1_1WLabel.html#afafb4849c9498834e9c8aeef19b5dcb7">Wt::WLabel</a>, <a class="el" href="classWt_1_1WCompositeWidget.html#ac19a8fef93bf9540d3ab42797186aa90">Wt::WCompositeWidget</a>, <a class="el" href="classWt_1_1WGroupBox.html#a2ac619eeb41a1c4a9da2404922fc861b">Wt::WGroupBox</a>, and <a class="el" href="classWt_1_1Ext_1_1Component.html#ad5829be82dab7403013dd5b072880597">Wt::Ext::Component</a>.</p>

</div>
</div>
<a class="anchor" id="a15e1efb1c2e1030a3ad9565ef7fb0e15"></a><!-- doxytag: member="Wt::WWidget::refresh" ref="a15e1efb1c2e1030a3ad9565ef7fb0e15" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WWidget::refresh </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Refresh the widget. </p>
<p>The refresh method is invoked when the locale is changed using <a class="el" href="classWt_1_1WApplication.html#a5c9cc1350019d69f154a2b44cdaf2596" title="Changes the locale.">WApplication::setLocale()</a> or when the user hit the refresh button.</p>
<p>The widget must actualize its contents in response. </p>

<p>Reimplemented in <a class="el" href="classWt_1_1WTemplate.html#a74f07dc026d40156769ef6d858e21538">Wt::WTemplate</a>, <a class="el" href="classWt_1_1Ext_1_1TableView.html#a925ffae0caed4dff0e0bb9da0440e20a">Wt::Ext::TableView</a>, <a class="el" href="classWt_1_1Ext_1_1Panel.html#a960a266d0c5427a2786cc45a4b05ffa1">Wt::Ext::Panel</a>, <a class="el" href="classWt_1_1WText.html#a465517b955bf7bbe086401b57d888552">Wt::WText</a>, <a class="el" href="classWt_1_1Ext_1_1ComboBox.html#a48b20b2d00b523a28e2c1bd0a1a9bfcd">Wt::Ext::ComboBox</a>, <a class="el" href="classWt_1_1WFormWidget.html#a0d96e013a6d123df4d5ae90457287cec">Wt::WFormWidget</a>, <a class="el" href="classWt_1_1Ext_1_1MessageBox.html#aba9efcb3903259caa0981f5ecc0cb7cb">Wt::Ext::MessageBox</a>, <a class="el" href="classWt_1_1WComboBox.html#aea94ab9c31cd5030906d73a8134e6e00">Wt::WComboBox</a>, <a class="el" href="classWt_1_1WPushButton.html#a57084964c8ecf099bcf3e4767a5cca68">Wt::WPushButton</a>, <a class="el" href="classWt_1_1Ext_1_1TabWidget.html#a030f39b4e70def47d3379bdd505aa5e0">Wt::Ext::TabWidget</a>, <a class="el" href="classWt_1_1WWebWidget.html#a48f8c17376bd04d1359481c5441f072a">Wt::WWebWidget</a>, <a class="el" href="classWt_1_1WViewWidget.html#a3481f6ab6f0db72c4489f31216b40c8b">Wt::WViewWidget</a>, <a class="el" href="classWt_1_1WCompositeWidget.html#a2c7709c1b62475863600551a10728ef1">Wt::WCompositeWidget</a>, <a class="el" href="classWt_1_1Ext_1_1AbstractButton.html#a2cab98fae87f87209c9999e086253fb0">Wt::Ext::AbstractButton</a>, <a class="el" href="classWt_1_1WGroupBox.html#a44bbe83b4a9af80c5d50e5671c2d2df6">Wt::WGroupBox</a>, and <a class="el" href="classWt_1_1Ext_1_1FormField.html#a0ac56f725de8a68fd7931b9319286485">Wt::Ext::FormField</a>.</p>

</div>
</div>
<a class="anchor" id="a3b8a35e37ef06c408f346c63a5f1aa8e"></a><!-- doxytag: member="Wt::WWidget::removeStyleClass" ref="a3b8a35e37ef06c408f346c63a5f1aa8e" args="(const WString &amp;styleClass, bool force=false)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::removeStyleClass </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;&#160;</td>
          <td class="paramname"><em>styleClass</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>force</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Removes a CSS style class. </p>
<p>When <code>force</code> = <code>true</code>, a JavaScript call will be used to remove the style class from the DOM element (if JavaScript is available). This may be necessary when client-side JavaScript manipulates the same style class. </p>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a855b936c8647b60bc7e53031fa65fb64">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#ada75b0a78ebad024ddd3ed2226b5e53f">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a5bebad8f1582b8bebf01a9ed0ee11972"></a><!-- doxytag: member="Wt::WWidget::resize" ref="a5bebad8f1582b8bebf01a9ed0ee11972" args="(const WLength &amp;width, const WLength &amp;height)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WWidget::resize </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WLength.html">WLength</a> &amp;&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WLength.html">WLength</a> &amp;&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Resizes the widget. </p>
<p>Specifies a fixed size for this widget, setting CSS <code>width</code> and <code>height</code> properties. By default a widget has automatic width and height, which sets a size for the widget following CSS rules.</p>
<p>When the widget is not managed by a layout manager, the automatic (natural) size of a widget depends on whether they widget is a <em>block</em> or <em>inline</em> widget:</p>
<ul>
<li>a <em>block</em> widget takes by default the width of the parent, and the height that it needs based on its contents</li>
<li>an <em>inline</em> widget takes the width and height that it needs based on its contents (possibly wrapping over multiple lines). The width and height of an inline widget cannot be changed (by the letter of CSS, although most browsers will react to it in varying ways).</li>
</ul>
<p>When inserted in a layout manager, the size set will be used as a widget's preferred size, but the widget may be given a different size by the layout manager based on available space and stretch factors. The actual size given by a layout manager may be retrieved by making the widget "layout size aware", using <a class="el" href="classWt_1_1WWidget.html#a4f83592912a7f8fa4fd35dadde78ee74" title="Sets the widget to be aware of its size set by a layout manager.">setLayoutSizeAware()</a>. If you have defined a <code>"wtResize()"</code> JavaScript method for the widget, then this method will also be called.</p>
<p>The default width and height of a widget is <a class="el" href="classWt_1_1WLength.html#a0cf39ca4225776879d56ade60320c31a" title="An &#39;auto&#39; length.">WLength::Auto</a>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a3f423e20a9b0792c1bc3d52899065e82" title="Returns the width.">width()</a>, <a class="el" href="classWt_1_1WWidget.html#a9454454144fe3729378c87c3b90372b4" title="Returns the height.">height()</a> </dd></dl>

<p>Reimplemented in <a class="el" href="classWt_1_1WGLWidget.html#ab6e91b16dfa5e22a6c02cf12c1bbe799">Wt::WGLWidget</a>, <a class="el" href="classWt_1_1WSlider.html#ab2c74e01222219a65b799cd78800a114">Wt::WSlider</a>, <a class="el" href="classWt_1_1WTreeView.html#a482314306c8404d7ed941fd986e32623">Wt::WTreeView</a>, <a class="el" href="classWt_1_1WTextEdit.html#ac9f80e652fc361512aa2587c54f4ecb5">Wt::WTextEdit</a>, <a class="el" href="classWt_1_1WPaintedWidget.html#aa57b940110d240951d0e3a6d03390319">Wt::WPaintedWidget</a>, <a class="el" href="classWt_1_1WProgressBar.html#ab3a6a25af643a68683e0da40989590c8">Wt::WProgressBar</a>, <a class="el" href="classWt_1_1WTableView.html#a921a3a6c489b584b261c6b7c7bf720d8">Wt::WTableView</a>, <a class="el" href="classWt_1_1WVideo.html#ac1d9ae4c6b29d10a5bcba1b17c2a2d0b">Wt::WVideo</a>, <a class="el" href="classWt_1_1WWebWidget.html#a4762c1aa0b5788e54a52270674f21e23">Wt::WWebWidget</a>, <a class="el" href="classWt_1_1Ext_1_1TextEdit.html#ad558bceb9ebca8c1ef8c937ce92786e9">Wt::Ext::TextEdit</a>, <a class="el" href="classWt_1_1WCompositeWidget.html#a976e94e38c7a9cc0f212e13a9792912e">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WFlashObject.html#ad4cb831ed24e824d7feeb2426994e2e3">Wt::WFlashObject</a>.</p>

</div>
</div>
<a class="anchor" id="ad629ef6b7b9bc84999ff31dc0f2f3a12"></a><!-- doxytag: member="Wt::WWidget::setAttributeValue" ref="ad629ef6b7b9bc84999ff31dc0f2f3a12" args="(const std::string &amp;name, const WString &amp;value)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::setAttributeValue </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets an attribute value. </p>
<p>Associate an extra attribute with this widget, with the given value. This is only useful when processing dom nodes associated with widgets in custom JavaScript code.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1JSlot.html" title="A slot that is only implemented in client side JavaScript code.">JSlot</a>, <a class="el" href="classWt_1_1WWidget.html#a2a8afe6d6f85af864df5cbd49ff6a0c5" title="Executes the given JavaScript statements when the widget is rendered or updated.">doJavaScript()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a8d976adf2c28a85f1354db9a273a152d">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a874b7a77d0785623f5059ad4dfe93266">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a1919e2e3628bb4e4b74517605b5062c5"></a><!-- doxytag: member="Wt::WWidget::setClearSides" ref="a1919e2e3628bb4e4b74517605b5062c5" args="(WFlags&lt; Side &gt; sides)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::setClearSides </td>
          <td>(</td>
          <td class="paramtype">WFlags&lt; <a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> &gt;&#160;</td>
          <td class="paramname"><em>sides</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the sides that should be cleared of floats. </p>
<p>This pushes the widget down until it is not surrounded by floats at the <code>sides</code> (which may be a combination of <a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3a6568fecac7c7d7223afaed240bcfdd9e" title="Left side.">Wt::Left</a> and <a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3acf431c3ce5eb6f14c0390feb14a68004" title="Right side.">Wt::Right</a>).</p>
<p>This applies to CSS-based layout.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a2915d313e6934173c087bf8212024289" title="Specifies a CSS float side.">setFloatSide()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a80d715ff3569039abee524561c6c146e">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a08b3487d9af9606fc3c6243adb7bf7ff">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a091e1fb88d9bbd8818d061af43c618b4"></a><!-- doxytag: member="Wt::WWidget::setDecorationStyle" ref="a091e1fb88d9bbd8818d061af43c618b4" args="(const WCssDecorationStyle &amp;style)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::setDecorationStyle </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WCssDecorationStyle.html">WCssDecorationStyle</a> &amp;&#160;</td>
          <td class="paramname"><em>style</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets a CSS decoration style. </p>
<p>This copies the style over its current <a class="el" href="classWt_1_1WWidget.html#ac1833c7c01599b3733712ab0bf3c3a0a" title="Returns the decoration style of this widget.">decorationStyle()</a> </p>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a48f311170879711377a741883440a4b2">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#abf72fb5ef4b107be2d986ba144047372">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="ae29fe35b633ec166f922419cd3ca9d96"></a><!-- doxytag: member="Wt::WWidget::setDisabled" ref="ae29fe35b633ec166f922419cd3ca9d96" args="(bool disabled)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::setDisabled </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>disabled</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets whether the widget is disabled. </p>
<p>Enables or disables the widget (including all its descendant widgets). setDisabled(false) will enable this widget and all descendant widgets that are not disabled. A widget is only enabled if it and all its ancestors in the widget tree are disabled.</p>
<p>Typically, a disabled form widget will not allow changing the value, and disabled widgets will not react to mouse click events.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a5f68ea0ab29adfb8e559153fca281e03" title="Disable thes widget.">disable()</a>, <a class="el" href="classWt_1_1WWidget.html#ae6935d8baca9d37dd1d080b4383da87c" title="Enables the widget.">enable()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WSlider.html#abb788e5ae002e1fc77ec07318bd0ee0b">Wt::WSlider</a>, <a class="el" href="classWt_1_1WPopupMenuItem.html#a9ade078579b04bed7d66aea9dcce5668">Wt::WPopupMenuItem</a>, <a class="el" href="classWt_1_1WDatePicker.html#a1c632c278617c650b5cafcbc3b4e6d91">Wt::WDatePicker</a>, <a class="el" href="classWt_1_1WWebWidget.html#aa3be5434e20cd0bd428eeb6f89fc89bc">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a5fec2d3fb7010193fd69124d88da063a">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a2915d313e6934173c087bf8212024289"></a><!-- doxytag: member="Wt::WWidget::setFloatSide" ref="a2915d313e6934173c087bf8212024289" args="(Side s)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::setFloatSide </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3">Side</a>&#160;</td>
          <td class="paramname"><em>s</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Specifies a CSS float side. </p>
<p>This only applies to widgets with a <a class="el" href="namespaceWt.html#a2551043da5512cfe7b857c5db6e5ae40aab8d71e0c30250d77e05b6c1708e020f" title="Static position scheme.">Wt::Static</a> <a class="el" href="classWt_1_1WWidget.html#aea3a7c21d936d34f28b42143aba4edd5" title="Returns the CSS position scheme.">positionScheme()</a>.</p>
<p>This lets the widget float to one of the sides of the parent widget, at the current line. A typical use is to position images within text. Valid values for Side orWt::None java {javadoclink Side::None None}, <a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3a6568fecac7c7d7223afaed240bcfdd9e" title="Left side.">Wt::Left</a> or <a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3acf431c3ce5eb6f14c0390feb14a68004" title="Right side.">Wt::Right</a>.</p>
<p>This applies to CSS-based layout. </p>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a713b0f487e3f4a0e151243ae84ab2b8d">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#aafed7408935752c6b0c8195ac49f2e9c">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a7d82ee32496743fdd28b30461f95d5ec"></a><!-- doxytag: member="Wt::WWidget::setHeight" ref="a7d82ee32496743fdd28b30461f95d5ec" args="(const WLength &amp;height)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WWidget::setHeight </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WLength.html">WLength</a> &amp;&#160;</td>
          <td class="paramname"><em>height</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the height. </p>
<p>This is a convenience method to change only the width of a widget, and is implemented as: </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classWt_1_1WWidget.html#a5bebad8f1582b8bebf01a9ed0ee11972" title="Resizes the widget.">resize</a>(<a class="code" href="classWt_1_1WWidget.html#a3f423e20a9b0792c1bc3d52899065e82" title="Returns the width.">width</a>(), <a class="code" href="classWt_1_1WWidget.html#a9454454144fe3729378c87c3b90372b4" title="Returns the height.">height</a>)
</pre></div><p>This applies to CSS-based layout.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a5bebad8f1582b8bebf01a9ed0ee11972" title="Resizes the widget.">resize()</a>, <a class="el" href="classWt_1_1WWidget.html#afc4bfcc92fa39010cac8775f3332dfa5" title="Sets the width.">setWidth()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a66bdda41220267a8c7ff9865996e2675"></a><!-- doxytag: member="Wt::WWidget::setHidden" ref="a66bdda41220267a8c7ff9865996e2675" args="(bool hidden, const WAnimation &amp;animation=WAnimation())=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::setHidden </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>hidden</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WAnimation.html">WAnimation</a> &amp;&#160;</td>
          <td class="paramname"><em>animation</em> = <code><a class="el" href="classWt_1_1WAnimation.html">WAnimation</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Hides or shows the widget. </p>
<p>Hides or show the widget (including all its descendant widgets). When setting <code>hidden</code> = <code>false</code>, this widget and all descendant widgets that are not hidden will be shown. A widget is only visible if it and all its ancestors in the widget tree are visible, which may be checked using <a class="el" href="classWt_1_1WWidget.html#a450f94dc5a28737625cdb6bde3fdc788" title="Returns whether the widget is visible.">isVisible()</a>. </p>

<p>Implemented in <a class="el" href="classWt_1_1WDialog.html#a3a7d93ea045031cbfd3d8be3c1fe294c">Wt::WDialog</a>, <a class="el" href="classWt_1_1WPopupMenu.html#a39f35f00435a61483fe25262e82d2acf">Wt::WPopupMenu</a>, <a class="el" href="classWt_1_1Ext_1_1MessageBox.html#a127a61d582c445a7549a0a6874a70488">Wt::Ext::MessageBox</a>, <a class="el" href="classWt_1_1WDatePicker.html#ad294337942c64128fbadad1b432aa030">Wt::WDatePicker</a>, <a class="el" href="classWt_1_1Ext_1_1Dialog.html#a846c648d3b0b2d757a1522503fad5280">Wt::Ext::Dialog</a>, <a class="el" href="classWt_1_1WTableView.html#a9e1f2fd7ab637cdbfbd05492046258f2">Wt::WTableView</a>, <a class="el" href="classWt_1_1WWebWidget.html#a8130c7caf29b2bcb2d347a69e13b17eb">Wt::WWebWidget</a>, <a class="el" href="classWt_1_1WCompositeWidget.html#a2c905ba0dd649609a6a29b89b3438e1b">Wt::WCompositeWidget</a>, <a class="el" href="classWt_1_1WFormWidget.html#a5dc109a9dce086ac204887947d85bd29">Wt::WFormWidget</a>, and <a class="el" href="classWt_1_1Ext_1_1Widget.html#a4029ea0c43677bf49cae0e047689bda7">Wt::Ext::Widget</a>.</p>

</div>
</div>
<a class="anchor" id="a8cd985ab1dfcee828c7b6189a7e052a5"></a><!-- doxytag: member="Wt::WWidget::setHiddenKeepsGeometry" ref="a8cd985ab1dfcee828c7b6189a7e052a5" args="(bool enabled)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::setHiddenKeepsGeometry </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enabled</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets whether the widget keeps its geometry when hidden. </p>
<p>Normally, a widget that is hidden will no longer occupy space, causing a reflow of sibling widgets. Using this method you may change this behavior to keep an (open) space when hidden.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>Currently you can only set this before initial rendering.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a66bdda41220267a8c7ff9865996e2675" title="Hides or shows the widget.">setHidden()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a9d9b5dbec398baec05ef8f9c70b336ee">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a870eeab54f7591c7a1ec9da90561f326">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a93ff9d1ca04e733cd54cd40a06775f7e"></a><!-- doxytag: member="Wt::WWidget::setId" ref="a93ff9d1ca04e733cd54cd40a06775f7e" args="(const std::string &amp;id)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::setId </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the CSS Id. </p>
<p>Sets a custom Id. Note that the Id must be unique across the whole widget tree, can only be set right after construction and cannot be changed. This is mostly useful for in tests using a test plan that manipulates DOM elements by Id.</p>
<p>By default, auto-generated id's are used.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>An id must start with a letter ([A-Za-z]), followed by one or more letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WObject.html#a5c5cc1d7aada99baf97d0dc203e42154" title="Returns the (unique) identifier for this object.">WObject::id()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a31bbe256124dd34461800c9dd5558b0b">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#ac348ec52af6565bf37c6d52b7bae2ef2">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="ac78e3af143883334c82031790c87416e"></a><!-- doxytag: member="Wt::WWidget::setInline" ref="ac78e3af143883334c82031790c87416e" args="(bool inlined)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::setInline </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>inlined</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets whether the widget is displayed inline or as a block. </p>
<p>This option changes whether this widget must be rendered in line with sibling widgets wrapping at the right edge of the parent container (like text), or whether this widget must be rendered as a rectangular block that stacks vertically with sibling widgets (unless a CSS float property is applied). Depending on the widget type, the default value is inline (such as for example for <a class="el" href="classWt_1_1WText.html" title="A widget that renders (XHTML) text.">WText</a>, or <a class="el" href="classWt_1_1WPushButton.html" title="A widget that represents a push button.">WPushButton</a>), or block (such as for example for a <a class="el" href="classWt_1_1WContainerWidget.html" title="A widget that holds and manages child widgets.">WContainerWidget</a>).</p>
<p>This applies to CSS-based layout. </p>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#ad0957c892e70c6bf5399cf71e66f3e11">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a96100109e775da87bfb3c5848c3c6a82">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="ab876fc1b7d2e4e5dfc631e380d406ae2"></a><!-- doxytag: member="Wt::WWidget::setJavaScriptMember" ref="ab876fc1b7d2e4e5dfc631e380d406ae2" args="(const std::string &amp;name, const std::string &amp;value)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::setJavaScriptMember </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets a JavaScript member. </p>
<p>This binds a JavaScript member, which is set as a JavaScript property to the DOM object that implements this widget. The value may be any JavaScript expression, including a function.</p>
<p>Members that start with <code>"wt"</code> are reserved for internal use. You may define a member <code>"wtResize(self, width,
 height)"</code> method if your widget needs active layout management. If defined, this method will be used by layout managers and when doing <a class="el" href="classWt_1_1WWidget.html#a5bebad8f1582b8bebf01a9ed0ee11972" title="Resizes the widget.">resize()</a> to set the size of the widget, instead of setting the CSS width and height properties. </p>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#ab74fb531357e6764a5aa32a17edf9173">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#ad0263a7415b2219566a193ff4b9fe10b">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a4f83592912a7f8fa4fd35dadde78ee74"></a><!-- doxytag: member="Wt::WWidget::setLayoutSizeAware" ref="a4f83592912a7f8fa4fd35dadde78ee74" args="(bool sizeAware)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WWidget::setLayoutSizeAware </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>sizeAware</em></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the widget to be aware of its size set by a layout manager. </p>
<p>When the widget is inserted in a layout manager, it will be resized to fit within the constraints imposed by the layout manager. By default, this done client-side only by setting the CSS height (and if needed, width) properties of the DOM element corresponding to the widget.</p>
<p>A widget may define a JavaScript method, <code>"wtResize(self,
 width, height)"</code>, to actively manage its client-side width and height, if it wants to react to these client-side size hints in a custom way (see <a class="el" href="classWt_1_1WWidget.html#ab876fc1b7d2e4e5dfc631e380d406ae2" title="Sets a JavaScript member.">setJavaScriptMember()</a>).</p>
<p>By setting <code>sizeAware</code> to true, the widget will propagate the width and height provided by the layout manager to the virtual <a class="el" href="classWt_1_1WWidget.html#af432588db3d599f89b54121f2ede8d63" title="Virtual method that indicates a size change.">layoutSizeChanged()</a> method, so that you may for example change the size of contained children in a particular way (doing a custom, manual, layout).</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#af432588db3d599f89b54121f2ede8d63" title="Virtual method that indicates a size change.">layoutSizeChanged()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aa4f27573eae7875d0fc538e37bc191a0"></a><!-- doxytag: member="Wt::WWidget::setMargin" ref="aa4f27573eae7875d0fc538e37bc191a0" args="(const WLength &amp;margin, WFlags&lt; Side &gt; sides=All)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::setMargin </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WLength.html">WLength</a> &amp;&#160;</td>
          <td class="paramname"><em>margin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WFlags&lt; <a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> &gt;&#160;</td>
          <td class="paramname"><em>sides</em> = <code><a class="el" href="namespaceWt.html#a3358b8309fdb63a402efcb1a577855e8">All</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets CSS margins around the widget. </p>
<p>Setting margin has the effect of adding a distance between the widget and surrounding widgets. The default margin (with an automatic length) is zero.</p>
<p>Use any combination of <a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3a6568fecac7c7d7223afaed240bcfdd9e" title="Left side.">Wt::Left</a>, <a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3acf431c3ce5eb6f14c0390feb14a68004" title="Right side.">Wt::Right</a>, <a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3a87ae7d3cb692a5a4e8f18a7fea93a8a8" title="Bottom side.">Wt::Bottom</a>, or <a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3a68b058364f8c2380c1d369a321f22f92" title="Top side.">Wt::Top</a>.</p>
<p>This applies to CSS-based layout.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a8b7c40b966518e22543d290229fbd29f" title="Returns a CSS margin set.">margin()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a9795c18e926b26b97fcbabc62a1dd4e3">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#addf49ace29b76331067c86bc4ae6ac38">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="af023064cf8007bda6baeb5277d79bbd9"></a><!-- doxytag: member="Wt::WWidget::setMaximumSize" ref="af023064cf8007bda6baeb5277d79bbd9" args="(const WLength &amp;width, const WLength &amp;height)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::setMaximumSize </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WLength.html">WLength</a> &amp;&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WLength.html">WLength</a> &amp;&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets a maximum size. </p>
<p>Specifies a maximum size for this widget, setting CSS <code>max-width</code> and <code>max-height</code> properties.</p>
<p>The default the maximum width and height are <a class="el" href="classWt_1_1WLength.html#a0cf39ca4225776879d56ade60320c31a" title="An &#39;auto&#39; length.">WLength::Auto</a>, indicating no maximum size. A <a class="el" href="classWt_1_1WLength.html#a908caf5d6be7e244e24598e6d22cd4c0a304d9ef07db638690997830a7b348db1" title="Percentage (meaning context-sensitive)">WLength::Percentage</a> size should not be used, as this is (in virtually all cases) undefined behaviour.</p>
<p>When the widget is a container widget that contains a layout manager, then setting a maximum size will have the effect of letting the size of the container to reflect the preferred size of the contents (rather than constraining the size of the children based on the size of the container), up to the specified maximum size.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a5bebad8f1582b8bebf01a9ed0ee11972" title="Resizes the widget.">resize()</a>, <a class="el" href="classWt_1_1WWidget.html#a092c7d1ecfde7f004ef120389d91775d" title="Sets a minimum size.">setMinimumSize()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WSuggestionPopup.html#abd7500d03679e0190307a753d78085ec">Wt::WSuggestionPopup</a>, <a class="el" href="classWt_1_1WDialog.html#ac55f7dd6e3b22487b83b4d62f9ff8558">Wt::WDialog</a>, <a class="el" href="classWt_1_1WPopupMenu.html#af2c85d2c02d2f5b144117dbf0ebed4e1">Wt::WPopupMenu</a>, <a class="el" href="classWt_1_1WWebWidget.html#a9b83805a5b8090d296ae4b5939fc9d11">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a7ba5622622b118e72b9a407d10df7ece">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a092c7d1ecfde7f004ef120389d91775d"></a><!-- doxytag: member="Wt::WWidget::setMinimumSize" ref="a092c7d1ecfde7f004ef120389d91775d" args="(const WLength &amp;width, const WLength &amp;height)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::setMinimumSize </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WLength.html">WLength</a> &amp;&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WLength.html">WLength</a> &amp;&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets a minimum size. </p>
<p>Specifies a minimum size for this widget, setting CSS <code>min-width</code> and <code>min-height</code> properties.</p>
<p>The default minimum width and height is 0. The special value <a class="el" href="classWt_1_1WLength.html#a0cf39ca4225776879d56ade60320c31a" title="An &#39;auto&#39; length.">WLength::Auto</a> indicates that the initial width is used as minimum size. A <a class="el" href="classWt_1_1WLength.html#a908caf5d6be7e244e24598e6d22cd4c0a304d9ef07db638690997830a7b348db1" title="Percentage (meaning context-sensitive)">WLength::Percentage</a> size should not be used, as this is (in virtually all cases) undefined behaviour.</p>
<p>When the widget is inserted in a layout manager, then the minimum size will be taken into account.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a5bebad8f1582b8bebf01a9ed0ee11972" title="Resizes the widget.">resize()</a>, <a class="el" href="classWt_1_1WWidget.html#af5847c8028f501b51d74184107ccdde6" title="Returns the minimum width.">minimumWidth()</a>, <a class="el" href="classWt_1_1WWidget.html#a411b6bbac918eeb19946d65c4352beb1" title="Returns the minimum height.">minimumHeight()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WSuggestionPopup.html#a7db92809f8e5d3751d2a9bf446549497">Wt::WSuggestionPopup</a>, <a class="el" href="classWt_1_1WPopupMenu.html#a7452ab47aed273d4ec84c39fd3790be4">Wt::WPopupMenu</a>, <a class="el" href="classWt_1_1WWebWidget.html#a10d09ad8ccc5cf13249b08c518f74fc6">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#acf95c795e47eee85425c98509aa8e57a">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a0b60b3e6d868689071fe3f828d550ae2"></a><!-- doxytag: member="Wt::WWidget::setOffsets" ref="a0b60b3e6d868689071fe3f828d550ae2" args="(const WLength &amp;offset, WFlags&lt; Side &gt; sides=All)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::setOffsets </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WLength.html">WLength</a> &amp;&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WFlags&lt; <a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3">Side</a> &gt;&#160;</td>
          <td class="paramname"><em>sides</em> = <code><a class="el" href="namespaceWt.html#a3358b8309fdb63a402efcb1a577855e8">All</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets CSS offsets for a non-statically positioned widget. </p>
<p>The argument <code>sides</code> may be a combination of <a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3a6568fecac7c7d7223afaed240bcfdd9e" title="Left side.">Wt::Left</a>, <a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3acf431c3ce5eb6f14c0390feb14a68004" title="Right side.">Wt::Right</a>, <a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3a68b058364f8c2380c1d369a321f22f92" title="Top side.">Wt::Top</a>, and <a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3a87ae7d3cb692a5a4e8f18a7fea93a8a8" title="Bottom side.">Wt::Bottom</a>.</p>
<p>This applies only to widgets that have a position scheme that is <a class="el" href="namespaceWt.html#a2551043da5512cfe7b857c5db6e5ae40acceb16577ef89ec5d7dec10507e3142a" title="Relative position scheme.">Wt::Relative</a>, <a class="el" href="namespaceWt.html#a2551043da5512cfe7b857c5db6e5ae40af924d8e24cb9e55dbeac9284c5640c69" title="Absolute position scheme.">Wt::Absolute</a>, or <a class="el" href="namespaceWt.html#a2551043da5512cfe7b857c5db6e5ae40a2e157222a2018e8665c15c1ba56df530" title="Fixed position scheme.">Wt::Fixed</a>, and has a slightly different meaning for these three cases.</p>
<p>For a <a class="el" href="namespaceWt.html#a2551043da5512cfe7b857c5db6e5ae40acceb16577ef89ec5d7dec10507e3142a">relatively positioned</a> widget, an offset applies relative to the position the widget would have when layed-out using a <a class="el" href="namespaceWt.html#a2551043da5512cfe7b857c5db6e5ae40aab8d71e0c30250d77e05b6c1708e020f">static</a> position scheme. The widget may be shifted to the left or right by specifying an offset for the <a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3a6568fecac7c7d7223afaed240bcfdd9e">left</a> or <a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3acf431c3ce5eb6f14c0390feb14a68004">right</a>) side. The widget may be shifted vertically, by specifying an offset for the <a class="el" href="namespaceWt.html#ab8f772c69bc8180c31f9e4f4593b143fa58fe5182bd266132c59718c6d30945a9">top</a> or <a class="el" href="namespaceWt.html#a5a6f4636bcc6ab3c075165d249b3a5a3a87ae7d3cb692a5a4e8f18a7fea93a8a8">bottom</a> side.</p>
<p>For an <a class="el" href="namespaceWt.html#a2551043da5512cfe7b857c5db6e5ae40af924d8e24cb9e55dbeac9284c5640c69">absolutely positioned</a> widget, an offset specifies a distance of the corresponding side of the widget with respect to the corresponding side of the reference parent widget. Thus, setting all offsets to 0 result in a widget that spans the entire reference widget. The reference parent widget is the first ancestor widget that is a table cell, or a widget with a relative, absolute or fixed position scheme.</p>
<p>For an <a class="el" href="namespaceWt.html#a2551043da5512cfe7b857c5db6e5ae40a2e157222a2018e8665c15c1ba56df530">fixed positioned</a> widget, an offset specifies a distance of the corresponding side of the widget with respect to the browser window, regardless of scrolling. Thus, setting all offsets to 0 result in a widget that spans the entire browser window.</p>
<p>This applies to CSS-based layout.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a08e07b6d0ca355a3fe2c7dead3dde228" title="Returns a CSS offset.">offset(Side) const</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#af566a7678548a3fed2602463f1902062">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#ade05ff99765584997aaa4e1d94522f49">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a3890a2ef04571b6d36e7468583457091"></a><!-- doxytag: member="Wt::WWidget::setPopup" ref="a3890a2ef04571b6d36e7468583457091" args="(bool popup)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::setPopup </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>popup</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Lets the widget overlay over other sibling widgets. </p>
<p>A widget that <a class="el" href="classWt_1_1WWidget.html#a29f3361a8c518dabc1251892da55dd6d" title="Returns whether the widget is overlayed.">isPopup()</a> will be rendered on top of any other sibling widget contained within the same parent (including other popup widgets previously added to the container).</p>
<p>This will only have an effect when the widgetis either <a class="el" href="namespaceWt.html#a2551043da5512cfe7b857c5db6e5ae40af924d8e24cb9e55dbeac9284c5640c69" title="Absolute position scheme.">Wt::Absolute</a> or <a class="el" href="namespaceWt.html#a2551043da5512cfe7b857c5db6e5ae40a2e157222a2018e8665c15c1ba56df530" title="Fixed position scheme.">Wt::Fixed</a> <a class="el" href="classWt_1_1WWidget.html#aea3a7c21d936d34f28b42143aba4edd5" title="Returns the CSS position scheme.">positionScheme()</a>.</p>
<p>This applies to CSS-based layout, and configures the z-index property. </p>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a715a95a73636cfa4c4e8c55f9be4beba">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a549fe2116fd1c6dade2cbd380db4c8e2">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="ae15ffe92fdc5c394013d61b5bebb2f11"></a><!-- doxytag: member="Wt::WWidget::setPositionScheme" ref="ae15ffe92fdc5c394013d61b5bebb2f11" args="(PositionScheme scheme)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::setPositionScheme </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceWt.html#a2551043da5512cfe7b857c5db6e5ae40">PositionScheme</a>&#160;</td>
          <td class="paramname"><em>scheme</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the CSS position scheme. </p>
<p>Establishes how the widget must be layed-out relative to its siblings. The default position scheme is Static.</p>
<p>This applies to CSS-based layout.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="namespaceWt.html#a2551043da5512cfe7b857c5db6e5ae40" title="Enumeration that specifies a layout mechanism for a widget.">Wt::PositionScheme</a>, <a class="el" href="classWt_1_1WWidget.html#aea3a7c21d936d34f28b42143aba4edd5" title="Returns the CSS position scheme.">positionScheme()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a8bb78ee97f060daff1216a09a41e7963">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a332ea77de7e6adb5b0ac25cc1b417ef8">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a3ccd308793bbf124aa2aeebfb1b4f42e"></a><!-- doxytag: member="Wt::WWidget::setSelectable" ref="a3ccd308793bbf124aa2aeebfb1b4f42e" args="(bool selectable)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::setSelectable </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>selectable</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets as selectable. </p>
<p>When a widget is made unselectable, a selection of text (or images) will not be visible (but may still be possible).</p>
<p>By default, the widget inherits this property from its parent, and this property propagates to all children. The top level container (<a class="el" href="classWt_1_1WApplication.html#a17e118a04d962459484a12989a80bc05" title="Returns the root container.">WApplication::root()</a>) selectable by default. </p>

<p>Implemented in <a class="el" href="classWt_1_1WTreeNode.html#a60428cfc48b2a39550efc308b38406b2">Wt::WTreeNode</a>, <a class="el" href="classWt_1_1WPopupMenuItem.html#a088a6f0541a011c28c4618bd870ed7b3">Wt::WPopupMenuItem</a>, <a class="el" href="classWt_1_1WWebWidget.html#a270f7d4bec189c88842b47090ccb448c">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a1cf4a59e433df7c28e7917a5e03fdac1">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a4be23ecf48d5968efb5d926e38e01708"></a><!-- doxytag: member="Wt::WWidget::setStyleClass" ref="a4be23ecf48d5968efb5d926e38e01708" args="(const WString &amp;styleClass)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::setStyleClass </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;&#160;</td>
          <td class="paramname"><em>styleClass</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets (one or more) CSS style classes. </p>
<p>You may set one or more space separated style classes. CSS style class works in conjunction with style sheet, and provides a flexible way to provide many widgets the same markup.</p>
<p>Setting an empty string removes the style class(es).</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WApplication.html#a6a9a20d65ce9e7c2f62b27387c94e10d" title="Returns a reference to the inline style sheet.">WApplication::styleSheet()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#afd3a3b359681111460a93d13979d17dd">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#af9a8abf4e8b5be186a31cd951e60bdc6">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="aeca7e1e9852d83067b3834078378f22d"></a><!-- doxytag: member="Wt::WWidget::setTabIndex" ref="aeca7e1e9852d83067b3834078378f22d" args="(int index)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::setTabIndex </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the tab index. </p>
<p>For widgets that receive focus, focus is passed on to the next widget in the <em>tabbing chain</em> based on their tab index. When the user navigates through form widgets using the keyboard, widgets receive focus starting from the element with the lowest tab index to elements with the highest tab index.</p>
<p>A tab index only applies to widgets than can receive focus (which are <a class="el" href="classWt_1_1WFormWidget.html" title="An abstract widget that corresponds to an HTML form element.">WFormWidget</a>, <a class="el" href="classWt_1_1WAnchor.html" title="A widget that represents an HTML anchor (to link to other documents).">WAnchor</a>, <a class="el" href="classWt_1_1WPushButton.html" title="A widget that represents a push button.">WPushButton</a>), but setting a tab index on any other type of widget will propagate to its contained form widgets.</p>
<p>Widgets with a same tab index will receive focus in the same order as they are inserted in the widget tree.</p>
<p>The default tab index is 0.</p>
<dl class="see"><dt><b>See also:</b></dt><dd>setTabOrder() </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#adcd712a20a14b659d09af34fd762fdca">Wt::WWebWidget</a>, <a class="el" href="classWt_1_1WCompositeWidget.html#a10b26fff7188b259669700c676031f82">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WFormWidget.html#abfd96a78d98db8572c51c9b18ab3ec88">Wt::WFormWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a717c1873e99c3ed9fd4ff4f8247327a6"></a><!-- doxytag: member="Wt::WWidget::setToolTip" ref="a717c1873e99c3ed9fd4ff4f8247327a6" args="(const WString &amp;text, TextFormat textFormat=PlainText)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::setToolTip </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;&#160;</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#a140dea437d52d3d7c438ea3bd16a1480">TextFormat</a>&#160;</td>
          <td class="paramname"><em>textFormat</em> = <code>PlainText</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets a tooltip. </p>
<p>The tooltip is displayed when the cursor hovers over the widget.</p>
<p>When <code>textFormat</code> is XHTMLText, the tooltip may contain any valid XHTML snippet. The tooltip will then be rendered using JavaScript. </p>

<p>Implemented in <a class="el" href="classWt_1_1WFormWidget.html#a3f543add9b915be258e0152db3ebf992">Wt::WFormWidget</a>, <a class="el" href="classWt_1_1WWebWidget.html#ab03e9249523c5a8b9c696f5f378a2082">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#adfc4aeb30d85a982941ee7e6e3939357">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a4f911e2f62cf35c34cb603eaca0d9a3f"></a><!-- doxytag: member="Wt::WWidget::setVerticalAlignment" ref="a4f911e2f62cf35c34cb603eaca0d9a3f" args="(AlignmentFlag alignment, const WLength &amp;length=WLength::Auto)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WWidget::setVerticalAlignment </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceWt.html#ab8f772c69bc8180c31f9e4f4593b143f">AlignmentFlag</a>&#160;</td>
          <td class="paramname"><em>alignment</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WLength.html">WLength</a> &amp;&#160;</td>
          <td class="paramname"><em>length</em> = <code><a class="el" href="classWt_1_1WLength.html#a0cf39ca4225776879d56ade60320c31a">WLength::Auto</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the vertical alignment. </p>
<p>This only applies to inline widgets, and determines how to position itself on the current line, with respect to sibling inline widgets.</p>
<p>This applies to CSS-based layout. </p>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#ac90979eca6488814ac3d44194ba9ac79">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#af548a47d09382c9413a688c0eb65df14">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="afc4bfcc92fa39010cac8775f3332dfa5"></a><!-- doxytag: member="Wt::WWidget::setWidth" ref="afc4bfcc92fa39010cac8775f3332dfa5" args="(const WLength &amp;width)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WWidget::setWidth </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WLength.html">WLength</a> &amp;&#160;</td>
          <td class="paramname"><em>width</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the width. </p>
<p>This is a convenience method to change only the width of a widget, and is implemented as: </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classWt_1_1WWidget.html#a5bebad8f1582b8bebf01a9ed0ee11972" title="Resizes the widget.">resize</a>(<a class="code" href="classWt_1_1WWidget.html#a3f423e20a9b0792c1bc3d52899065e82" title="Returns the width.">width</a>, <a class="code" href="classWt_1_1WWidget.html#a9454454144fe3729378c87c3b90372b4" title="Returns the height.">height</a>())
</pre></div><dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a5bebad8f1582b8bebf01a9ed0ee11972" title="Resizes the widget.">resize()</a>, <a class="el" href="classWt_1_1WWidget.html#a7d82ee32496743fdd28b30461f95d5ec" title="Sets the height.">setHeight()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a52dcef5a385ddfa0a8c3e6c20000f181"></a><!-- doxytag: member="Wt::WWidget::show" ref="a52dcef5a385ddfa0a8c3e6c20000f181" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WWidget::show </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Shows the widget. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a66bdda41220267a8c7ff9865996e2675" title="Hides or shows the widget.">setHidden()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a89e4d70592dd34c277923cb793f73b66"></a><!-- doxytag: member="Wt::WWidget::stopAcceptDrops" ref="a89e4d70592dd34c277923cb793f73b66" args="(const std::string &amp;mimeType)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WWidget::stopAcceptDrops </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>mimeType</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Indicates that a mime type is no longer accepted for dropping. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#aebee4b24e8128c08ae4aa3682adf6d8f" title="Sets a mime type to be accepted for dropping.">acceptDrops()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ad5a84cacbaa1e4da97f7ba68de060330"></a><!-- doxytag: member="Wt::WWidget::styleClass" ref="ad5a84cacbaa1e4da97f7ba68de060330" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1WString.html">WString</a> Wt::WWidget::styleClass </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the CSS style class. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a4be23ecf48d5968efb5d926e38e01708" title="Sets (one or more) CSS style classes.">setStyleClass()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a89fbcde817d7f4cd8bd1d9bc38e12f61">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#add2437d41d367251cbfa98fa18dedba8">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="ac8e874a86853e3e230e2cee1a7a153c4"></a><!-- doxytag: member="Wt::WWidget::tabIndex" ref="ac8e874a86853e3e230e2cee1a7a153c4" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int Wt::WWidget::tabIndex </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the tab index. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#aeca7e1e9852d83067b3834078378f22d" title="Sets the tab index.">setTabIndex()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a1b1ab73cbe01ff5a8c0df11d11a84c1d">Wt::WWebWidget</a>, <a class="el" href="classWt_1_1WCompositeWidget.html#a07ba1eb6802336dbd060fdba935d2730">Wt::WCompositeWidget</a>, and <a class="el" href="classWt_1_1WFormWidget.html#ad7d39967608f2ef1582a313eb9d08a07">Wt::WFormWidget</a>.</p>

</div>
</div>
<a class="anchor" id="aa651f107ec7cf080faef6c435705fc44"></a><!-- doxytag: member="Wt::WWidget::tr" ref="aa651f107ec7cf080faef6c435705fc44" args="(const char *key)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1WString.html">WString</a> Wt::WWidget::tr </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Short hand for <a class="el" href="classWt_1_1WString.html#a0afc7dc0f9897456d71b569a86ca26c1" title="Creates a localized string from a key.">WString::tr()</a> </p>
<p>Creates a localized string with the given key. </p>

</div>
</div>
<a class="anchor" id="a0ae4522f15e80ff00d246a19604f6c7f"></a><!-- doxytag: member="Wt::WWidget::verticalAlignment" ref="a0ae4522f15e80ff00d246a19604f6c7f" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceWt.html#ab8f772c69bc8180c31f9e4f4593b143f">AlignmentFlag</a> Wt::WWidget::verticalAlignment </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the vertical alignment. </p>
<p>This applies to CSS-based layout.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a4f911e2f62cf35c34cb603eaca0d9a3f" title="Sets the vertical alignment.">setVerticalAlignment()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a44aa10af09e270c4af4e0b0341a50176">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a078108fab89c90dc540bc7bbd47a85f1">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a9faaa6c2b46c0adf6606ad1496c4e52b"></a><!-- doxytag: member="Wt::WWidget::verticalAlignmentLength" ref="a9faaa6c2b46c0adf6606ad1496c4e52b" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> Wt::WWidget::verticalAlignmentLength </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the fixed vertical alignment that was set. </p>
<p>This applies to CSS-based layout.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a4f911e2f62cf35c34cb603eaca0d9a3f" title="Sets the vertical alignment.">setVerticalAlignment()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#aaed2ce9f1b73298bb69e0206d2cf1753">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a9f45784318e94541bb490979d418a968">Wt::WCompositeWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a3f423e20a9b0792c1bc3d52899065e82"></a><!-- doxytag: member="Wt::WWidget::width" ref="a3f423e20a9b0792c1bc3d52899065e82" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1WLength.html">WLength</a> Wt::WWidget::width </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the width. </p>
<p>Returns the width set for this widget. This is not a calculated width, based on layout, but the width as specified with <a class="el" href="classWt_1_1WWidget.html#a5bebad8f1582b8bebf01a9ed0ee11972" title="Resizes the widget.">resize(const WLength&amp;, const WLength&amp;)</a>.</p>
<p>This applies to CSS-based layout.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WWidget.html#a5bebad8f1582b8bebf01a9ed0ee11972" title="Resizes the widget.">resize(const WLength&amp;, const WLength&amp;)</a>, <a class="el" href="classWt_1_1WWidget.html#a9454454144fe3729378c87c3b90372b4" title="Returns the height.">height()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WWebWidget.html#a66ea6d827d488a855abc7a36d8d414ca">Wt::WWebWidget</a>, and <a class="el" href="classWt_1_1WCompositeWidget.html#a3358bb9a93e5c7999c4f6d39d9880c8f">Wt::WCompositeWidget</a>.</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">&#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 Thu Nov 1 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>