1 2@c %start of fragment 3 4@node GtkTable 5@chapter GtkTable 6Pack widgets in regular patterns 7 8@section Overview 9The @code{<gtk-table>} functions allow the programmer to arrange widgets in rows 10and columns, making it easy to align many widgets next to each other, 11horizontally and vertically. 12 13Tables are created with a call to @code{gtk-table-new}, the size of which can 14later be changed with @code{gtk-table-resize}. 15 16Widgets can be added to a table using @code{gtk-table-attach} or the more 17convenient (but slightly less flexible) @code{gtk-table-attach-defaults}. 18 19To alter the space next to a specific row, use @code{gtk-table-set-row-spacing}, 20and for a column, @code{gtk-table-set-col-spacing}. 21 22The gaps between @emph{all} rows or columns can be changed by calling 23@code{gtk-table-set-row-spacings} or @code{gtk-table-set-col-spacings} 24respectively. 25 26@code{gtk-table-set-homogeneous}, can be used to set whether all cells in the 27table will resize themselves to the size of the largest widget in the table. 28 29@section Usage 30@include defuns-gtktable.xml.texi 31 32@c %end of fragment 33