Sophie

Sophie

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

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::WLayout 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_1WLayout.html">WLayout</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">Wt::WLayout Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Wt::WLayout" --><!-- doxytag: inherits="Wt::WLayoutItem,Wt::WObject" -->
<p>An abstract base class for layout managers.  
 <a href="classWt_1_1WLayout.html#details">More...</a></p>

<p><code>#include &lt;Wt/WLayout&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Wt::WLayout:</div>
<div class="dyncontent">
<div class="center"><img src="classWt_1_1WLayout__inherit__graph.png" border="0" usemap="#Wt_1_1WLayout_inherit__map" alt="Inheritance graph"/></div>
<map name="Wt_1_1WLayout_inherit__map" id="Wt_1_1WLayout_inherit__map">
<area shape="rect" href="classWt_1_1WBorderLayout.html" title="A layout manager which divides the container region in five regions." alt="" coords="5,155,141,181"/><area shape="rect" href="classWt_1_1WBoxLayout.html" title="A layout manager which arranges widgets horizontally or vertically." alt="" coords="165,155,285,181"/><area shape="rect" href="classWt_1_1WDefaultLayout.html" title="A default layout manager." alt="" coords="309,155,448,181"/><area shape="rect" href="classWt_1_1WFitLayout.html" title="A layout manager which spans a single widget to all available space." alt="" coords="472,155,584,181"/><area shape="rect" href="classWt_1_1WGridLayout.html" title="A layout manager which arranges widgets in a grid." alt="" coords="608,155,731,181"/><area shape="rect" href="classWt_1_1WLayoutItem.html" title="An abstract base class for items that can participate in a layout." alt="" coords="251,5,373,32"/><area shape="rect" href="classWt_1_1WObject.html" title="A base class for objects that participate in the signal/slot system." alt="" coords="397,5,493,32"/><area shape="rect" href="classWt_1_1WHBoxLayout.html" title="A layout manager which arranges widgets horizontally." alt="" coords="5,229,136,256"/><area shape="rect" href="classWt_1_1WVBoxLayout.html" title="A layout manager which arranges widgets vertically." alt="" coords="160,229,291,256"/><area shape="rect" href="classWt_1_1WAccordionLayout.html" title="A layout manager which shows one item at a time." alt="" coords="315,229,469,256"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classWt_1_1WLayout-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_1WLayout.html#afee1a345112b107158765695fc6837eb">~WLayout</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#afee1a345112b107158765695fc6837eb"></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_1WLayout.html#ad4a778298c01d290692afc77e441c629">addItem</a> (<a class="el" href="classWt_1_1WLayoutItem.html">WLayoutItem</a> *item)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a layout <em>item</em>.  <a href="#ad4a778298c01d290692afc77e441c629"></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_1WLayout.html#a886d2ec4b6b97524ba3dff93252e6540">addWidget</a> (<a class="el" href="classWt_1_1WWidget.html">WWidget</a> *widget)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds the given <em>widget</em> to the layout.  <a href="#a886d2ec4b6b97524ba3dff93252e6540"></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_1WLayout.html#a8c8d94070a51e669f8077249b67742ae">removeItem</a> (<a class="el" href="classWt_1_1WLayoutItem.html">WLayoutItem</a> *item)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes a layout <em>item</em> (widget or nested layout).  <a href="#a8c8d94070a51e669f8077249b67742ae"></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_1WLayout.html#a3f5e0f62a0deb8f2473e52c5270128d5">removeWidget</a> (<a class="el" href="classWt_1_1WWidget.html">WWidget</a> *widget)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes the given <em>widget</em> from the layout.  <a href="#a3f5e0f62a0deb8f2473e52c5270128d5"></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_1WLayout.html#a799b3cce5c1717b18e54c14471e84033">count</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of items in this layout.  <a href="#a799b3cce5c1717b18e54c14471e84033"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WLayoutItem.html">WLayoutItem</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WLayout.html#a3d48e5e4f56ad5d1b0e60180ebc91442">itemAt</a> (int index) const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the layout item at a specific <em>index</em>.  <a href="#a3d48e5e4f56ad5d1b0e60180ebc91442"></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_1WLayout.html#afecba709ae19b93ef9bbe167650dbc5c">indexOf</a> (<a class="el" href="classWt_1_1WLayoutItem.html">WLayoutItem</a> *item) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the index of a given <em>item</em>.  <a href="#afecba709ae19b93ef9bbe167650dbc5c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf26f397f48824ed1e359d6a603eebe8"></a><!-- doxytag: member="Wt::WLayout::findWidgetItem" ref="aaf26f397f48824ed1e359d6a603eebe8" args="(WWidget *widget)" -->
virtual <a class="el" href="classWt_1_1WWidgetItem.html">WWidgetItem</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WLayout.html#aaf26f397f48824ed1e359d6a603eebe8">findWidgetItem</a> (<a class="el" href="classWt_1_1WWidget.html">WWidget</a> *widget)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the widget item associated with the given <em>widget</em>. <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_1WLayout.html#ac8fa1927e7c9b15e3e673cbf6a473c34">setLayoutHint</a> (const std::string &amp;name, const std::string &amp;value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides a hint to the layout implementation.  <a href="#ac8fa1927e7c9b15e3e673cbf6a473c34"></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_1WLayout.html#ada2f5beaa8a0153451ba55581ea9bbf8">widget</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the widget that is held by this <a class="el" href="classWt_1_1WLayoutItem.html" title="An abstract base class for items that can participate in a layout.">WLayoutItem</a>.  <a href="#ada2f5beaa8a0153451ba55581ea9bbf8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WLayout.html">WLayout</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WLayout.html#a82078a08c5a21aa67bd5a83c377d437d">layout</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the layout that implements this <a class="el" href="classWt_1_1WLayoutItem.html" title="An abstract base class for items that can participate in a layout.">WLayoutItem</a>.  <a href="#a82078a08c5a21aa67bd5a83c377d437d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af0448e22813516009edc5555572a2043"></a><!-- doxytag: member="Wt::WLayout::parentLayout" ref="af0448e22813516009edc5555572a2043" args="() const " -->
virtual <a class="el" href="classWt_1_1WLayout.html">WLayout</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WLayout.html#af0448e22813516009edc5555572a2043">parentLayout</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the layout in which this item is contained. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWt_1_1WLayoutItemImpl.html">WLayoutItemImpl</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WLayout.html#aeb31f2caad3ed9b1ab2b06327cc92bb2">impl</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the implementation for this layout item.  <a href="#aeb31f2caad3ed9b1ab2b06327cc92bb2"></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_1WLayout.html#af18bae8c743c9f9a5cabee58826ffb45">setContentsMargins</a> (int left, int top, int right, int bottom)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set contents margins (in pixels).  <a href="#af18bae8c743c9f9a5cabee58826ffb45"></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_1WLayout.html#a90756cc8765259a26f8d54fd4531c7b3">getContentsMargins</a> (int *left, int *top, int *right, int *bottom) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the contents margins.  <a href="#a90756cc8765259a26f8d54fd4531c7b3"></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_1WLayout.html#af9b4512adecf7adca01b8757108be4d6">clear</a> ()=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes and deletes all child widgets and nested layouts.  <a href="#af9b4512adecf7adca01b8757108be4d6"></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"><a class="anchor" id="a7ea1c353ac9d38a94ad08fc0cb8d6c25"></a><!-- doxytag: member="Wt::WLayout::WLayout" ref="a7ea1c353ac9d38a94ad08fc0cb8d6c25" args="()" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WLayout.html#a7ea1c353ac9d38a94ad08fc0cb8d6c25">WLayout</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a layout. <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_1WLayout.html#aa1549c20751b9a50cbc47d3a47adcb21">update</a> (<a class="el" href="classWt_1_1WLayoutItem.html">WLayoutItem</a> *item=0)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the layout.  <a href="#aa1549c20751b9a50cbc47d3a47adcb21"></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_1WLayout.html#a8cf7d6517ab800c975a25dfc6682c58f">updateAddItem</a> (<a class="el" href="classWt_1_1WLayoutItem.html">WLayoutItem</a> *item)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the layout, adding the given layout <em>item</em>.  <a href="#a8cf7d6517ab800c975a25dfc6682c58f"></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_1WLayout.html#a31c7495263f67a4fbc8b384784af628d">updateRemoveItem</a> (<a class="el" href="classWt_1_1WLayoutItem.html">WLayoutItem</a> *item)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the layout, remove the given layout <em>item</em>.  <a href="#a31c7495263f67a4fbc8b384784af628d"></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_1WLayout.html#af196e38edc970646d765f003a6cc352e">setLayoutInParent</a> (<a class="el" href="classWt_1_1WWidget.html">WWidget</a> *parent)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the layout in the <em>parent</em>.  <a href="#af196e38edc970646d765f003a6cc352e"></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_1WLayout.html#a47e9674fd436406f195248da0f665c39">clearLayoutItem</a> (<a class="el" href="classWt_1_1WLayoutItem.html">WLayoutItem</a> *item)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears and deletes an item.  <a href="#a47e9674fd436406f195248da0f665c39"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0c3ceda2095c8414c6f10cc4c632f2bd"></a><!-- doxytag: member="Wt::WLayout::setParentWidget" ref="a0c3ceda2095c8414c6f10cc4c632f2bd" args="(WWidget *parent)" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WLayout.html#a0c3ceda2095c8414c6f10cc4c632f2bd">setParentWidget</a> (<a class="el" href="classWt_1_1WWidget.html">WWidget</a> *parent)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal method. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a15f0f5f75cc008b12619d643153889da"></a><!-- doxytag: member="Wt::WLayout::setParentLayout" ref="a15f0f5f75cc008b12619d643153889da" args="(WLayout *parentLayout)" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WLayout.html#a15f0f5f75cc008b12619d643153889da">setParentLayout</a> (<a class="el" href="classWt_1_1WLayout.html">WLayout</a> *parentLayout)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal method. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>An abstract base class for layout managers. </p>
<p>This class is the abstract base class for any layout manager. A layout manager is associated with a container widget, and manages the layout of children inside the whole space available to the container widget.</p>
<p>Layout managers may be used with <a class="el" href="classWt_1_1WContainerWidget.html" title="A widget that holds and manages child widgets.">WContainerWidget</a> and <a class="el" href="classWt_1_1Ext_1_1Container.html" title="A container class which manages its contents using layout managers.">Ext::Container</a> container widgets. A suitable implementation for all layout classes is not yet available for both containers, and thus you need to refer to the documentation of a layout manager to see if it is applicable to your situation.</p>
<p>The implementation of the layout manager depends on the container widget to which it is set, and is therefore deferred to WLayoutImpl.</p>
<p>A layout never assumes ownership of contained items, instead these are owned by the parent widget to which the layout is applied.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>When applying a layout manager to a <a class="el" href="classWt_1_1WContainerWidget.html" title="A widget that holds and manages child widgets.">WContainerWidget</a>, you may not define any padding for the container widget. Instead, use <a class="el" href="classWt_1_1WLayout.html#af18bae8c743c9f9a5cabee58826ffb45" title="Set contents margins (in pixels).">setContentsMargins()</a>. </dd></dl>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="afee1a345112b107158765695fc6837eb"></a><!-- doxytag: member="Wt::WLayout::~WLayout" ref="afee1a345112b107158765695fc6837eb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::WLayout::~WLayout </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>
<p>This will delete the layout (and nested layouts), but not the contained widgets. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ad4a778298c01d290692afc77e441c629"></a><!-- doxytag: member="Wt::WLayout::addItem" ref="ad4a778298c01d290692afc77e441c629" args="(WLayoutItem *item)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WLayout::addItem </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classWt_1_1WLayoutItem.html">WLayoutItem</a> *&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds a layout <em>item</em>. </p>
<p>The item may be a widget or nested layout.</p>
<p>How the item is layed out with respect to siblings is implementation specific to the layout manager. In some cases, a layout manager will overload this method with extra arguments that specify layout options.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WLayout.html#a8c8d94070a51e669f8077249b67742ae" title="Removes a layout item (widget or nested layout).">removeItem(WLayoutItem *)</a>, <a class="el" href="classWt_1_1WLayout.html#a886d2ec4b6b97524ba3dff93252e6540" title="Adds the given widget to the layout.">addWidget(WWidget *)</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WGridLayout.html#a82fb0e2743d9081893b83003d5263dbd">Wt::WGridLayout</a>, <a class="el" href="classWt_1_1WBoxLayout.html#a2932a804ac01e0b314408bf4d366385d">Wt::WBoxLayout</a>, <a class="el" href="classWt_1_1WBorderLayout.html#a5f9a17668850dfbd4566b4351334ab48">Wt::WBorderLayout</a>, <a class="el" href="classWt_1_1WDefaultLayout.html#a281200191e8568c0dd8f7f355640cfbf">Wt::WDefaultLayout</a>, and <a class="el" href="classWt_1_1WFitLayout.html#ac961be1e914193e5f46992ef326d0939">Wt::WFitLayout</a>.</p>

</div>
</div>
<a class="anchor" id="a886d2ec4b6b97524ba3dff93252e6540"></a><!-- doxytag: member="Wt::WLayout::addWidget" ref="a886d2ec4b6b97524ba3dff93252e6540" args="(WWidget *widget)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WLayout::addWidget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classWt_1_1WWidget.html">WWidget</a> *&#160;</td>
          <td class="paramname"><em>widget</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds the given <em>widget</em> to the layout. </p>
<p>This method wraps the widget in a <a class="el" href="classWt_1_1WWidgetItem.html" title="A layout item that holds a single widget.">WWidgetItem</a> and calls <a class="el" href="classWt_1_1WLayout.html#ad4a778298c01d290692afc77e441c629" title="Adds a layout item.">addItem(WLayoutItem *)</a>.</p>
<p>How the widget is layed out with respect to siblings is implementation specific to the layout manager. In some cases, a layout manager will overload this method with extra arguments that specify layout options.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WLayout.html#a3f5e0f62a0deb8f2473e52c5270128d5" title="Removes the given widget from the layout.">removeWidget(WWidget *)</a>, <a class="el" href="classWt_1_1WLayout.html#ad4a778298c01d290692afc77e441c629" title="Adds a layout item.">addItem(WLayoutItem *)</a> </dd></dl>

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

<p>Removes and deletes all child widgets and nested layouts. </p>
<p>This is similar to <a class="el" href="classWt_1_1WContainerWidget.html#a608f748cbdda763f1a11556ddad9fbe1" title="Removes and deletes all child widgets.">WContainerWidget::clear()</a>, with the exception that the layout itself is not deleted. </p>

<p>Implemented in <a class="el" href="classWt_1_1WGridLayout.html#ab325a8d6bdde1e96caf7ed3c694079a9">Wt::WGridLayout</a>, <a class="el" href="classWt_1_1WBoxLayout.html#a4dfc3f4f98e857bc0cbc98608a7855f4">Wt::WBoxLayout</a>, <a class="el" href="classWt_1_1WBorderLayout.html#acec6b03122c304d205806ff9b41d696d">Wt::WBorderLayout</a>, <a class="el" href="classWt_1_1WDefaultLayout.html#a4f3fe779c69e8326fd13dfe6f6c115f5">Wt::WDefaultLayout</a>, and <a class="el" href="classWt_1_1WFitLayout.html#af7677580c9cb3cdc708afffd59a23883">Wt::WFitLayout</a>.</p>

</div>
</div>
<a class="anchor" id="a47e9674fd436406f195248da0f665c39"></a><!-- doxytag: member="Wt::WLayout::clearLayoutItem" ref="a47e9674fd436406f195248da0f665c39" args="(WLayoutItem *item)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WLayout::clearLayoutItem </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classWt_1_1WLayoutItem.html">WLayoutItem</a> *&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Clears and deletes an item. </p>
<p>This also deletes nested widgets and layouts.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WLayout.html#af9b4512adecf7adca01b8757108be4d6" title="Removes and deletes all child widgets and nested layouts.">clear()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a799b3cce5c1717b18e54c14471e84033"></a><!-- doxytag: member="Wt::WLayout::count" ref="a799b3cce5c1717b18e54c14471e84033" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int Wt::WLayout::count </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 number of items in this layout. </p>
<p>This may be a theoretical number, which is greater than the actual number of items. It can be used to iterate over the items in the layout, in conjunction with <a class="el" href="classWt_1_1WLayout.html#a3d48e5e4f56ad5d1b0e60180ebc91442" title="Returns the layout item at a specific index.">itemAt()</a>. </p>

<p>Implemented in <a class="el" href="classWt_1_1WGridLayout.html#a95300e5b406b82d9e1993bd96c80cab7">Wt::WGridLayout</a>, <a class="el" href="classWt_1_1WBoxLayout.html#a961fe311fd07adbf7b60b571ef7a8278">Wt::WBoxLayout</a>, <a class="el" href="classWt_1_1WBorderLayout.html#a1a29297adea327f48c1235022125f069">Wt::WBorderLayout</a>, <a class="el" href="classWt_1_1WDefaultLayout.html#a2c662db2763510aa0e47a84c098dcc62">Wt::WDefaultLayout</a>, and <a class="el" href="classWt_1_1WFitLayout.html#af8f23224493fcb1958fa676fd079b5e7">Wt::WFitLayout</a>.</p>

</div>
</div>
<a class="anchor" id="a90756cc8765259a26f8d54fd4531c7b3"></a><!-- doxytag: member="Wt::WLayout::getContentsMargins" ref="a90756cc8765259a26f8d54fd4531c7b3" args="(int *left, int *top, int *right, int *bottom) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WLayout::getContentsMargins </td>
          <td>(</td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>left</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>top</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>right</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>bottom</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the contents margins. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WLayout.html#af18bae8c743c9f9a5cabee58826ffb45" title="Set contents margins (in pixels).">setContentsMargins()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aeb31f2caad3ed9b1ab2b06327cc92bb2"></a><!-- doxytag: member="Wt::WLayout::impl" ref="aeb31f2caad3ed9b1ab2b06327cc92bb2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1WLayoutItemImpl.html">WLayoutItemImpl</a>* Wt::WLayout::impl </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the implementation for this layout item. </p>
<p>The implementation of a layout item depends on the kind of container for which the layout does layout management. </p>

<p>Implements <a class="el" href="classWt_1_1WLayoutItem.html#ab2f17122cf9589657bc0e6fa5e3ea560">Wt::WLayoutItem</a>.</p>

</div>
</div>
<a class="anchor" id="afecba709ae19b93ef9bbe167650dbc5c"></a><!-- doxytag: member="Wt::WLayout::indexOf" ref="afecba709ae19b93ef9bbe167650dbc5c" args="(WLayoutItem *item) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Wt::WLayout::indexOf </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classWt_1_1WLayoutItem.html">WLayoutItem</a> *&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the index of a given <em>item</em>. </p>
<p>The default implementation loops over all items, and returns the index for which itemAt(index) equals <code>item</code>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WLayout.html#a3d48e5e4f56ad5d1b0e60180ebc91442" title="Returns the layout item at a specific index.">itemAt(int) const</a> </dd></dl>

<p>Reimplemented in <a class="el" href="classWt_1_1WDefaultLayout.html#ab07de0e688076a6d722c2558a5675337">Wt::WDefaultLayout</a>, and <a class="el" href="classWt_1_1WFitLayout.html#a68002f0345e96fdfec1ccaa823c52a3e">Wt::WFitLayout</a>.</p>

</div>
</div>
<a class="anchor" id="a3d48e5e4f56ad5d1b0e60180ebc91442"></a><!-- doxytag: member="Wt::WLayout::itemAt" ref="a3d48e5e4f56ad5d1b0e60180ebc91442" args="(int index) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1WLayoutItem.html">WLayoutItem</a>* Wt::WLayout::itemAt </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the layout item at a specific <em>index</em>. </p>
<p>If there is no item at the <code>index</code>, <code>0</code> is returned.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WLayout.html#afecba709ae19b93ef9bbe167650dbc5c" title="Returns the index of a given item.">indexOf(WLayoutItem *) const</a>, <a class="el" href="classWt_1_1WLayout.html#a799b3cce5c1717b18e54c14471e84033" title="Returns the number of items in this layout.">count()</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WGridLayout.html#adfbab1a8c0090423f24371bb5281fcb7">Wt::WGridLayout</a>, <a class="el" href="classWt_1_1WBoxLayout.html#aad2ec4be48cb11a7802b3e6d7cb8f0fd">Wt::WBoxLayout</a>, <a class="el" href="classWt_1_1WBorderLayout.html#acd496ae37d97427d2234fb3147a2f500">Wt::WBorderLayout</a>, <a class="el" href="classWt_1_1WDefaultLayout.html#a865e47b372c73f913f5a1c7d7124bd1e">Wt::WDefaultLayout</a>, and <a class="el" href="classWt_1_1WFitLayout.html#a9a058c59e6fc3d7526d1d3c57c940049">Wt::WFitLayout</a>.</p>

</div>
</div>
<a class="anchor" id="a82078a08c5a21aa67bd5a83c377d437d"></a><!-- doxytag: member="Wt::WLayout::layout" ref="a82078a08c5a21aa67bd5a83c377d437d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1WLayout.html">WLayout</a>* Wt::WLayout::layout </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the layout that implements this <a class="el" href="classWt_1_1WLayoutItem.html" title="An abstract base class for items that can participate in a layout.">WLayoutItem</a>. </p>
<p>This implements a type-safe upcasting mechanism to a <a class="el" href="classWt_1_1WLayout.html" title="An abstract base class for layout managers.">WLayout</a>. </p>

<p>Implements <a class="el" href="classWt_1_1WLayoutItem.html#a3f81b4d198401ae493276a61be6784cf">Wt::WLayoutItem</a>.</p>

</div>
</div>
<a class="anchor" id="a8c8d94070a51e669f8077249b67742ae"></a><!-- doxytag: member="Wt::WLayout::removeItem" ref="a8c8d94070a51e669f8077249b67742ae" args="(WLayoutItem *item)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WLayout::removeItem </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classWt_1_1WLayoutItem.html">WLayoutItem</a> *&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Removes a layout <em>item</em> (widget or nested layout). </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WLayout.html#ad4a778298c01d290692afc77e441c629" title="Adds a layout item.">addItem(WLayoutItem *)</a>, <a class="el" href="classWt_1_1WLayout.html#a3f5e0f62a0deb8f2473e52c5270128d5" title="Removes the given widget from the layout.">removeWidget(WWidget *)</a> </dd></dl>

<p>Implemented in <a class="el" href="classWt_1_1WGridLayout.html#a35a10fd71fa00cad962bd0980d9cdc00">Wt::WGridLayout</a>, <a class="el" href="classWt_1_1WBoxLayout.html#aa01f05c0f40fa89e418b802f78f2870c">Wt::WBoxLayout</a>, <a class="el" href="classWt_1_1WBorderLayout.html#a1d6703aaefe8924d71ad48dbd4b7dcab">Wt::WBorderLayout</a>, <a class="el" href="classWt_1_1WDefaultLayout.html#a2172639feddcd11fd319eb481a5d20a6">Wt::WDefaultLayout</a>, and <a class="el" href="classWt_1_1WFitLayout.html#afd4c47377c0aa0a3a55db13a0ff2bae2">Wt::WFitLayout</a>.</p>

</div>
</div>
<a class="anchor" id="a3f5e0f62a0deb8f2473e52c5270128d5"></a><!-- doxytag: member="Wt::WLayout::removeWidget" ref="a3f5e0f62a0deb8f2473e52c5270128d5" args="(WWidget *widget)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::WLayout::removeWidget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classWt_1_1WWidget.html">WWidget</a> *&#160;</td>
          <td class="paramname"><em>widget</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Removes the given <em>widget</em> from the layout. </p>
<p>This method finds the corresponding <a class="el" href="classWt_1_1WWidgetItem.html" title="A layout item that holds a single widget.">WWidgetItem</a> and calls <a class="el" href="classWt_1_1WLayout.html#a8c8d94070a51e669f8077249b67742ae" title="Removes a layout item (widget or nested layout).">removeItem(WLayoutItem *)</a>. The widget itself is not destroyed.</p>
<p>Returns <code>true</code> if succesful.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WLayout.html#a886d2ec4b6b97524ba3dff93252e6540" title="Adds the given widget to the layout.">addWidget(WWidget *)</a>, <a class="el" href="classWt_1_1WLayout.html#a8c8d94070a51e669f8077249b67742ae" title="Removes a layout item (widget or nested layout).">removeItem(WLayoutItem *)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="af18bae8c743c9f9a5cabee58826ffb45"></a><!-- doxytag: member="Wt::WLayout::setContentsMargins" ref="af18bae8c743c9f9a5cabee58826ffb45" args="(int left, int top, int right, int bottom)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WLayout::setContentsMargins </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>left</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>top</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>right</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>bottom</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set contents margins (in pixels). </p>
<p>The default contents margins are 9 pixels in all directions.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>Only used when the layout manager is applied to a <a class="el" href="classWt_1_1WContainerWidget.html" title="A widget that holds and manages child widgets.">WContainerWidget</a>.</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WLayout.html#af18bae8c743c9f9a5cabee58826ffb45" title="Set contents margins (in pixels).">setContentsMargins()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac8fa1927e7c9b15e3e673cbf6a473c34"></a><!-- doxytag: member="Wt::WLayout::setLayoutHint" ref="ac8fa1927e7c9b15e3e673cbf6a473c34" args="(const std::string &amp;name, const std::string &amp;value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WLayout::setLayoutHint </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></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides a hint to the layout implementation. </p>
<p>In some cases, a layout implementation may require some hints for rendering its contents. Possible hints are indicated in the reference documentation for each layout manager. </p>

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

<p>Set the layout in the <em>parent</em>. </p>
<p>Must be called from the constructor after the layout has been fully created (since it will call virtual methods <a class="el" href="classWt_1_1WLayout.html#a799b3cce5c1717b18e54c14471e84033" title="Returns the number of items in this layout.">count()</a> and <a class="el" href="classWt_1_1WLayout.html#a3d48e5e4f56ad5d1b0e60180ebc91442" title="Returns the layout item at a specific index.">itemAt()</a>). </p>

</div>
</div>
<a class="anchor" id="aa1549c20751b9a50cbc47d3a47adcb21"></a><!-- doxytag: member="Wt::WLayout::update" ref="aa1549c20751b9a50cbc47d3a47adcb21" args="(WLayoutItem *item=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WLayout::update </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classWt_1_1WLayoutItem.html">WLayoutItem</a> *&#160;</td>
          <td class="paramname"><em>item</em> = <code>0</code></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Update the layout. </p>
<p>Must be called whenever some properties of the layout have changed. </p>

</div>
</div>
<a class="anchor" id="a8cf7d6517ab800c975a25dfc6682c58f"></a><!-- doxytag: member="Wt::WLayout::updateAddItem" ref="a8cf7d6517ab800c975a25dfc6682c58f" args="(WLayoutItem *item)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WLayout::updateAddItem </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classWt_1_1WLayoutItem.html">WLayoutItem</a> *&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Update the layout, adding the given layout <em>item</em>. </p>
<p>Must be called from the implementation of <a class="el" href="classWt_1_1WLayout.html#ad4a778298c01d290692afc77e441c629" title="Adds a layout item.">addItem(WLayoutItem *)</a> </p>

</div>
</div>
<a class="anchor" id="a31c7495263f67a4fbc8b384784af628d"></a><!-- doxytag: member="Wt::WLayout::updateRemoveItem" ref="a31c7495263f67a4fbc8b384784af628d" args="(WLayoutItem *item)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WLayout::updateRemoveItem </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classWt_1_1WLayoutItem.html">WLayoutItem</a> *&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Update the layout, remove the given layout <em>item</em>. </p>
<p>Must be called from the implementation of <a class="el" href="classWt_1_1WLayout.html#a8c8d94070a51e669f8077249b67742ae" title="Removes a layout item (widget or nested layout).">removeItem(WLayoutItem *)</a> </p>

</div>
</div>
<a class="anchor" id="ada2f5beaa8a0153451ba55581ea9bbf8"></a><!-- doxytag: member="Wt::WLayout::widget" ref="ada2f5beaa8a0153451ba55581ea9bbf8" args="()" -->
<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::WLayout::widget </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the widget that is held by this <a class="el" href="classWt_1_1WLayoutItem.html" title="An abstract base class for items that can participate in a layout.">WLayoutItem</a>. </p>
<p>This implements a type-safe upcasting mechanism to a <a class="el" href="classWt_1_1WWidgetItem.html" title="A layout item that holds a single widget.">WWidgetItem</a>. </p>

<p>Implements <a class="el" href="classWt_1_1WLayoutItem.html#a06b127060eaf8a0b87a994b483d493e1">Wt::WLayoutItem</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>