Creates a new gtk.grid_layout.GridLayout.
Retrieves the row set with gtk.grid_layout.GridLayout.setBaselineRow.
Checks whether all columns of grid should have the same width.
Retrieves the spacing set with gtk.grid_layout.GridLayout.setColumnSpacing.
Returns the baseline position of row.
Checks whether all rows of grid should have the same height.
Retrieves the spacing set with gtk.grid_layout.GridLayout.setRowSpacing.
Sets which row defines the global baseline for the entire grid.
Sets whether all columns of grid should have the same width.
Sets the amount of space to insert between consecutive columns.
Sets how the baseline should be positioned on row of the grid, in case that row is assigned more space than is requested.
Sets whether all rows of grid should have the same height.
Sets the amount of space to insert between consecutive rows.
Assigns the given width, height, and baseline to a widget, and computes the position and sizes of the children of the widget using the layout management policy of manager.
Retrieves a gtk.layout_child.LayoutChild instance for the gtk.layout_manager.LayoutManager, creating one if necessary.
Retrieves the request mode of manager.
Retrieves the gtk.widget.Widget using the given gtk.layout_manager.LayoutManager.
Queues a resize on the gtk.widget.Widget using manager, if any.
Measures the size of the widget using manager, for the given orientation and size.
gtk.grid_layout.GridLayout is a layout manager which 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 gtk.grid_layout_child.GridLayoutChild associated to each child widget.
The behaviour of gtk.grid_layout.GridLayout when several children occupy the same grid cell is undefined.
gtk.grid_layout.GridLayout can be used like a gtk.box_layout.BoxLayout 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 gtk.box_layout.BoxLayout.