Wt
3.2.0
|
An abstract base class for all Ext widgets. More...
#include <Wt/Ext/Widget>
Public Member Functions | |
~Widget () | |
Delete a widget. | |
virtual void | setHidden (bool hidden, const WAnimation &animation=WAnimation()) |
Hides or shows the widget. |
An abstract base class for all Ext widgets.
Ext Widgets wrap around JavaScript-only widgets that are provided by the Ext JS JavaScript widget library.
void Wt::Ext::Widget::setHidden | ( | bool | hidden, |
const WAnimation & | animation = WAnimation() |
||
) | [virtual] |
Hides or shows the widget.
Hides or show the widget (including all its descendant widgets). When setting hidden
= false
, 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 isVisible().
Reimplemented from Wt::WWebWidget.
Reimplemented in Wt::Ext::MessageBox, and Wt::Ext::Dialog.