<!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::Ext::Widget Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css" /> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { searchBox.OnSelectItem(0); }); </script> </head> <body> <div id="top"><!-- do not remove this div! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">Wt  <span id="projectnumber">3.2.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 Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceWt.html">Wt</a> </li> <li class="navelem"><a class="el" href="namespaceWt_1_1Ext.html">Ext</a> </li> <li class="navelem"><a class="el" href="classWt_1_1Ext_1_1Widget.html">Widget</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <div class="title">Wt::Ext::Widget Class Reference<div class="ingroups"><a class="el" href="group__ext.html">Ext widgets (Wt::Ext, deprecated)</a></div></div> </div> </div> <div class="contents"> <!-- doxytag: class="Wt::Ext::Widget" --><!-- doxytag: inherits="Wt::WWebWidget" --> <p>An abstract base class for all Ext widgets. <a href="classWt_1_1Ext_1_1Widget.html#details">More...</a></p> <p><code>#include <Wt/Ext/Widget></code></p> <div class="dynheader"> Inheritance diagram for Wt::Ext::Widget:</div> <div class="dyncontent"> <div class="center"><img src="classWt_1_1Ext_1_1Widget__inherit__graph.png" border="0" usemap="#Wt_1_1Ext_1_1Widget_inherit__map" alt="Inheritance graph"/></div> <map name="Wt_1_1Ext_1_1Widget_inherit__map" id="Wt_1_1Ext_1_1Widget_inherit__map"> <area shape="rect" href="classWt_1_1Ext_1_1Component.html" title="An abstract base class for widgets that can be visually disabled." alt="" coords="652,129,791,156"/><area shape="rect" href="classWt_1_1Ext_1_1Menu.html" title="A menu presented in a popup window." alt="" coords="668,180,775,207"/><area shape="rect" href="classWt_1_1Ext_1_1SplitterHandle.html" title="A handle inside a splitter." alt="" coords="644,231,799,257"/><area shape="rect" href="classWt_1_1Ext_1_1ToolBar.html" title="A class that represents a tool bar (or a menu bar)." alt="" coords="663,281,780,308"/><area shape="rect" href="classWt_1_1WWebWidget.html" title="A base class for widgets with an HTML counterpart." alt="" coords="301,205,429,232"/><area shape="rect" href="classWt_1_1WWidget.html" title="The abstract base class for a user-interface component." alt="" coords="153,205,252,232"/><area shape="rect" href="classWt_1_1WObject.html" title="A base class for objects that participate in the signal/slot system." alt="" coords="7,205,103,232"/><area shape="rect" href="classWt_1_1Ext_1_1AbstractButton.html" title="Abstract base class for a (toolbar) button or menu item." alt="" coords="849,31,1009,57"/><area shape="rect" href="classWt_1_1Ext_1_1Calendar.html" title="A calendar." alt="" coords="867,81,992,108"/><area shape="rect" href="classWt_1_1Ext_1_1Container.html" title="A container class which manages its contents using layout managers." alt="" coords="865,132,993,159"/><area shape="rect" href="classWt_1_1Ext_1_1FormField.html" title="An abstract base class for form fields." alt="" coords="864,228,995,255"/><area shape="rect" href="classWt_1_1Ext_1_1Button.html" title="A button." alt="" coords="1103,5,1215,32"/><area shape="rect" href="classWt_1_1Ext_1_1MenuItem.html" title="An item in a menu." alt="" coords="1093,56,1224,83"/><area shape="rect" href="classWt_1_1Ext_1_1Panel.html" title="A container with a title and standard GUI elements." alt="" coords="1105,119,1212,145"/><area shape="rect" href="classWt_1_1Ext_1_1Dialog.html" title="A dialog emulates a modal window that blocks the user-interface." alt="" coords="1327,19,1436,45"/><area shape="rect" href="classWt_1_1Ext_1_1TableView.html" title="A widget that displays data in a table." alt="" coords="1316,69,1447,96"/><area shape="rect" href="classWt_1_1Ext_1_1TabWidget.html" title="A widget that organizes contents in tab panes." alt="" coords="1313,120,1449,147"/><area shape="rect" href="classWt_1_1Ext_1_1MessageBox.html" title="A standard dialog for confirmation or to get simple user input." alt="" coords="1505,19,1655,45"/><area shape="rect" href="classWt_1_1Ext_1_1ProgressDialog.html" title="A standard dialog to inform the user of progress during a time consuming task." alt="" coords="1704,19,1867,45"/><area shape="rect" href="classWt_1_1Ext_1_1AbstractToggleButton.html" title="Abstract base class for radio button and check box." alt="" coords="1060,221,1257,248"/><area shape="rect" href="classWt_1_1Ext_1_1LineEdit.html" title="A line edit." alt="" coords="1099,272,1219,299"/><area shape="rect" href="classWt_1_1Ext_1_1TextEdit.html" title="A rich-text editor." alt="" coords="1099,323,1219,349"/><area shape="rect" href="classWt_1_1Ext_1_1CheckBox.html" title="A user control that represents a check box." alt="" coords="1315,171,1448,197"/><area shape="rect" href="classWt_1_1Ext_1_1RadioButton.html" title="A user control that represents a radio button." alt="" coords="1309,221,1453,248"/><area shape="rect" href="classWt_1_1Ext_1_1ComboBox.html" title="A widget that provides a drop-down combo-box control." alt="" coords="1312,272,1451,299"/><area shape="rect" href="classWt_1_1Ext_1_1DateField.html" title="A form field for conveniently editing a date using a calendar popup." alt="" coords="1317,323,1445,349"/><area shape="rect" href="classWt_1_1Ext_1_1NumberField.html" title="A form field for editing a number." alt="" coords="1308,373,1455,400"/><area shape="rect" href="classWt_1_1Ext_1_1PagingToolBar.html" title="A tool bar that provides paging controls for supporting large data sets in a table view..." alt="" coords="851,281,1008,308"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classWt_1_1Ext_1_1Widget-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6156640ace2e219ed459461a755a7860"></a><!-- doxytag: member="Wt::Ext::Widget::~Widget" ref="a6156640ace2e219ed459461a755a7860" args="()" -->  </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Ext_1_1Widget.html#a6156640ace2e219ed459461a755a7860">~Widget</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Delete a widget. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Ext_1_1Widget.html#a4029ea0c43677bf49cae0e047689bda7">setHidden</a> (bool hidden, const <a class="el" href="classWt_1_1WAnimation.html">WAnimation</a> &animation=<a class="el" href="classWt_1_1WAnimation.html">WAnimation</a>())</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Hides or shows the widget. <a href="#a4029ea0c43677bf49cae0e047689bda7"></a><br/></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>An abstract base class for all Ext widgets. </p> <p>Ext Widgets wrap around JavaScript-only widgets that are provided by the <a href="http://extjs.com">Ext JS</a> JavaScript widget library. </p> </div><hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a4029ea0c43677bf49cae0e047689bda7"></a><!-- doxytag: member="Wt::Ext::Widget::setHidden" ref="a4029ea0c43677bf49cae0e047689bda7" args="(bool hidden, const WAnimation &animation=WAnimation())" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Wt::Ext::Widget::setHidden </td> <td>(</td> <td class="paramtype">bool </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> & </td> <td class="paramname"><em>animation</em> = <code><a class="el" href="classWt_1_1WAnimation.html">WAnimation</a>()</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [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_1WWebWidget.html#a751a49ab835e4ffb72d5826c87adc494" title="Returns whether the widget is visible.">isVisible()</a>. </p> <p>Reimplemented from <a class="el" href="classWt_1_1WWebWidget.html#a8130c7caf29b2bcb2d347a69e13b17eb">Wt::WWebWidget</a>.</p> <p>Reimplemented in <a class="el" href="classWt_1_1Ext_1_1MessageBox.html#a127a61d582c445a7549a0a6874a70488">Wt::Ext::MessageBox</a>, and <a class="el" href="classWt_1_1Ext_1_1Dialog.html#a846c648d3b0b2d757a1522503fad5280">Wt::Ext::Dialog</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"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <hr size="1"><address style="text-align: right; margin: 3px"><small> Generated on Thu Nov 1 2012 for <a href="http://www.webtoolkit.eu/wt">the C++ Web Toolkit (Wt)</a> by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" border="0" style="vertical-align: middle; display: inline-block; height: 2em"></a> 1.7.5.1</small></address> </body> </html>