]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/layout.h
Support floating widgets in layouts
[libs/gltk.git] / source / layout.h
index 043d92cc1554b738092ce3ad771fcf5bb3cc5049..141a15cdb317d7920fd394778312f28002228b24 100644 (file)
@@ -153,6 +153,7 @@ private:
                Packing horiz_pack;
                Packing vert_pack;
                bool ghost;
+               bool floating;
 
                Slot(Layout &, Widget &);
 
@@ -229,6 +230,8 @@ public:
        /// Sets a widget as a ghost, taking up space even if it is hidden.
        void set_ghost(Widget &, bool);
 
+       void set_floating(Widget &, bool);
+
        void update();
        void autosize(Geometry &);