:right-sidebar: True GridLayoutChild =================================================================== .. currentmodule:: gi.repository.Gtk .. class:: GridLayoutChild(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Gtk.LayoutChild`, :class:`~gi.repository.GObject.Object` ``GtkLayoutChild`` subclass for children in a ``GtkGridLayout``. Methods ------- .. rst-class:: interim-class .. class:: GridLayoutChild :no-index: .. method:: get_column() -> int Retrieves the column number to which ``child`` attaches its left side. .. method:: get_column_span() -> int Retrieves the number of columns that ``child`` spans to. .. method:: get_row() -> int Retrieves the row number to which ``child`` attaches its top side. .. method:: get_row_span() -> int Retrieves the number of rows that ``child`` spans to. .. method:: set_column(column: int) -> None Sets the column number to attach the left side of ``child``. :param column: the attach point for ``child`` .. method:: set_column_span(span: int) -> None Sets the number of columns ``child`` spans to. :param span: the span of ``child`` .. method:: set_row(row: int) -> None Sets the row to place ``child`` in. :param row: the row for ``child`` .. method:: set_row_span(span: int) -> None Sets the number of rows ``child`` spans to. :param span: the span of ``child`` Properties ---------- .. rst-class:: interim-class .. class:: GridLayoutChild :no-index: .. attribute:: props.column :type: int The column to place the child in. .. attribute:: props.column_span :type: int The number of columns the child spans to. .. attribute:: props.row :type: int The row to place the child in. .. attribute:: props.row_span :type: int The number of rows the child spans to.