#include <WViewWidget>
Public Member Functions | |
WStaticModelView (Renderer f, WContainerWidget *parent=0) | |
Construct a new static model view, given a function object to render the View widget. | |
Protected Member Functions | |
WWidget * | renderView () |
Create a widget that renders the View. |
This model uses a function object which is passed in the constructor to render the View, and does not react to changes.
You may want to use the utility function Wt::makeStaticModel() to create an instance of this class.
WWidget* Wt::WStaticModelView< Renderer >::renderView | ( | ) | [inline, protected, virtual] |
Create a widget that renders the View.
This method must be reimplemented to return a widget that renders the view. The returned widget will be deleted by WViewWidget.
Implements Wt::WViewWidget.