It derives from <GtkLayoutManager>.
Arranges child widgets in rows and columns.
Children have an "attach point" defined by the horizontal and vertical
index of the cell they occupy; children can span multiple rows or
columns. The layout properties for setting the attach points and spans
are set using the <GtkGridLayoutChild>
associated to each child widget.
The behaviour of <GtkGridLayout> when several
children occupy the same grid cell is undefined.
<GtkGridLayout> can be used like a
<GtkBoxLayout> if all children are attached to
the same row or column; however, if you only ever need a single row or
column, you should consider using
<GtkBoxLayout>.
The row to align to the baseline, when widget:valign is set to baseline.
Its value is a 32-bit integer.
Set it with (set! (grid-layout:baseline-row self) value).
Whether all the columns in the grid have the same width.
Its value is a boolean.
Set it with (set! (grid-layout:column-homogeneous self) value).
The amount of space between to consecutive columns.
Its value is a 32-bit integer.
Set it with (set! (grid-layout:column-spacing self) value).
Whether all the rows in the grid have the same height.
Its value is a boolean.
Set it with (set! (grid-layout:row-homogeneous self) value).
The amount of space between to consecutive rows.
Its value is a 32-bit integer.
Set it with (set! (grid-layout:row-spacing self) value).
Retrieves the row set with grid-layout:set-baseline-row.
Passed: a <GtkGridLayout>.
Returned: a 32-bit integer.
the global baseline row
Checks whether all columns of self should have the same width.
Passed: a <GtkGridLayout>.
Returned: a boolean.
#t if the columns are homogeneous, and #f otherwise
Retrieves the spacing set with grid-layout:set-column-spacing.
Passed: a <GtkGridLayout>.
Returned: an unsigned 32-bit integer.
the spacing between consecutive columns
Returns the baseline position of row.
If no value has been set with grid-layout:set-row-baseline-position, the
default value of center is returned.
Passed: a <GtkGridLayout>.
Passed: a 32-bit integer.
a row index
Returned: a <GtkBaselinePosition>.
the baseline position of row
Checks whether all rows of self should have the same height.
Passed: a <GtkGridLayout>.
Returned: a boolean.
#t if the rows are homogeneous, and #f otherwise
Retrieves the spacing set with grid-layout:set-row-spacing.
Passed: a <GtkGridLayout>.
Returned: an unsigned 32-bit integer.
the spacing between consecutive rows
Creates a new <GtkGridLayout>.
Returned: a <GtkLayoutManager>.
the newly created <GtkGridLayout>
Sets which row defines the global baseline for the entire grid.
Each row in the grid can have its own local baseline, but only one of those is global, meaning it will be the baseline in the parent of the self.
Passed: a <GtkGridLayout>.
Passed: a 32-bit integer.
the row index
Sets whether all columns of self should have the same width.
Passed: a <GtkGridLayout>.
Passed: a boolean.
#t to make columns homogeneous
Sets the amount of space to insert between consecutive columns.
Passed: a <GtkGridLayout>.
Passed: an unsigned 32-bit integer.
the amount of space between columns, in pixels
Sets how the baseline should be positioned on row of the grid, in case that row is assigned more space than is requested.
Passed: a <GtkGridLayout>.
Passed: a 32-bit integer.
a row index
Passed: a <GtkBaselinePosition>, or one
of its symbols.
Sets whether all rows of self should have the same height.
Passed: a <GtkGridLayout>.
Passed: a boolean.
#t to make rows homogeneous
Sets the amount of space to insert between consecutive rows.
Passed: a <GtkGridLayout>.
Passed: an unsigned 32-bit integer.
the amount of space between rows, in pixels