diff options
Diffstat (limited to 'src/gui/widgets/container.h')
-rw-r--r-- | src/gui/widgets/container.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/widgets/container.h b/src/gui/widgets/container.h index 2b8039f4..0f1d1bb7 100644 --- a/src/gui/widgets/container.h +++ b/src/gui/widgets/container.h @@ -65,6 +65,12 @@ class Container : public gcn::Container */ void updateLayout(); + /** + * Removes the layout, making it forget about any widgets (needed when + * reusing a container with new widgets). + */ + void clearLayout(); + private: LayoutHelper *mLayoutHelper; }; |