X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flayout.h;h=0ea47a11c3bdbcef50821bf619ed361b09d48ad5;hb=50f11cec86c034fbee2ab332503266808b1eba74;hp=7ae3907c772d740f0ad1ab3e28386f5bc0042213;hpb=a6733b168083926ccc11eb3896642348b13817a2;p=libs%2Fgltk.git diff --git a/source/layout.h b/source/layout.h index 7ae3907..0ea47a1 100644 --- a/source/layout.h +++ b/source/layout.h @@ -140,8 +140,16 @@ public: void set_container(Container &); void set_margin(const Sides &); + + /** Sets the default spacing between widgets in bothg directions. */ void set_spacing(unsigned); + + /** Sets the default vertical spacing between widgets. Affects the ABOVE + and BELOW constraints. */ void set_row_spacing(unsigned); + + /** Sets the default horizontal spacing between widgets. Affects the + LEFT_OF and RIGHT_OF constraints. */ void set_column_spacing(unsigned); void add_widget(Widget &);