Wt: Wt::Ext::Widget Class Reference

Wt 3.3.0

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Hierarchy
- Class Members

Public Member Functions
Wt::Ext::Widget Class Reference
Ext widgets (Wt::Ext, deprecated)

An abstract base class for all Ext widgets. More...

`#include <Wt/Ext/Widget>`

Inheritance diagram for Wt::Ext::Widget:
[legend]

List of all members.

## Public Member Functions
| ~Widget ()
| Delete a widget.
virtual void | setHidden (bool hidden, const WAnimation &animation=WAnimation())
| Hides or shows the widget.

## Detailed Description

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.

## Member Function Documentation

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.

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator