| 
    Wt
    3.7.1
    
   | 
 
A layout item that holds a single widget. More...
#include <Wt/WWidgetItem>

Public Member Functions | |
| WWidgetItem (WWidget *widget) | |
| Creates a new item for the given widget.  | |
| virtual WWidget * | widget () | 
| Returns the widget that is held by this WLayoutItem.  More... | |
| virtual WLayout * | layout () | 
| Returns the layout that implements this WLayoutItem.  More... | |
| virtual WLayout * | parentLayout () const | 
| Returns the layout in which this item is contained.  | |
| virtual WWidgetItem * | findWidgetItem (WWidget *widget) | 
| Finds the widget item corresponding to the given widget  More... | |
| WLayoutItemImpl * | impl () const | 
| Returns the implementation for this layout item.  More... | |
  Public Member Functions inherited from Wt::WLayoutItem | |
| virtual | ~WLayoutItem () | 
| Destructor.  | |
Private Member Functions | |
| virtual void | setParentWidget (WWidget *parent) | 
| Internal method.  | |
| virtual void | setParentLayout (WLayout *layout) | 
| Internal method.  | |
A layout item that holds a single widget.
      
  | 
  virtual | 
Finds the widget item corresponding to the given widget
The widget is searched for recursively inside nested layouts.
Implements Wt::WLayoutItem.
      
  | 
  virtual | 
Returns the implementation for this layout item.
The implementation of a layout item depends on the kind of container for which the layout does layout management.
Implements Wt::WLayoutItem.
      
  | 
  virtual | 
Returns the layout that implements this WLayoutItem.
This implements a type-safe upcasting mechanism to a WLayout.
Implements Wt::WLayoutItem.
      
  | 
  virtual | 
Returns the widget that is held by this WLayoutItem.
This implements a type-safe upcasting mechanism to a WWidgetItem.
Implements Wt::WLayoutItem.
 1.8.13