class dtkViewLayout : public QFrame {

%TypeHeaderCode
#include <dtkWidgets/dtkViewLayout.h>
#include <dtkWidgets/dtkViewLayoutItem.h>
#include <dtkWidgets/dtkViewWidget.h>
#include <QtWidgets/QFrame>
%End

public:
     dtkViewLayout(QWidget *parent = 0);

public:
    dtkViewLayoutItem *root();
    dtkViewLayoutItem *current();

public:
    void setCurrent(dtkViewLayoutItem *item);

signals:
    void focused(dtkViewWidget *view);
    void unfocused(dtkViewWidget *view);

public slots:
    void clear();
};
