From: Mikko Rasa Date: Thu, 27 Jun 2013 14:23:41 +0000 (+0300) Subject: Add getter for Panel::layout X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=754751fd474c6eac073fa7e89a18142fc89cb4fb;p=libs%2Fgltk.git Add getter for Panel::layout This is necessary for certain operations on a panel loaded from a datafile. --- diff --git a/source/panel.h b/source/panel.h index 8d83b66..d224596 100644 --- a/source/panel.h +++ b/source/panel.h @@ -65,6 +65,7 @@ public: virtual const char *get_class() const { return "panel"; } void set_layout(Layout *); + Layout *get_layout() { return layout; } protected: virtual void autosize_special(const Part &, Geometry &);