<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
<!ENTITY version SYSTEM "version.xml">
<!ENTITY pi "&#960;">
<!ENTITY solidus "&#8260;">
]>
<refentry id="GtkGrid">
<refmeta>
<refentrytitle role="top_of_page" id="GtkGrid.top_of_page">GtkGrid</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTK4 Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GtkGrid</refname>
<refpurpose>Pack widgets in rows and columns</refpurpose>
</refnamediv>

<refsect1 id="GtkGrid.functions" role="functions_proto">
<title role="functions_proto.title">Functions</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="functions_proto_type" colwidth="150px"/>
<colspec colname="functions_proto_name"/>
<tbody>
<row><entry role="function_type"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-grid-new">gtk_grid_new</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-grid-attach">gtk_grid_attach</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-grid-attach-next-to">gtk_grid_attach_next_to</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-grid-remove">gtk_grid_remove</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-grid-get-child-at">gtk_grid_get_child_at</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-grid-insert-row">gtk_grid_insert_row</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-grid-insert-column">gtk_grid_insert_column</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-grid-remove-row">gtk_grid_remove_row</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-grid-remove-column">gtk_grid_remove_column</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-grid-insert-next-to">gtk_grid_insert_next_to</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-grid-set-row-homogeneous">gtk_grid_set_row_homogeneous</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-grid-get-row-homogeneous">gtk_grid_get_row_homogeneous</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-grid-set-row-spacing">gtk_grid_set_row_spacing</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="guint"><returnvalue>guint</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-grid-get-row-spacing">gtk_grid_get_row_spacing</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-grid-set-column-homogeneous">gtk_grid_set_column_homogeneous</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-grid-get-column-homogeneous">gtk_grid_get_column_homogeneous</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-grid-set-column-spacing">gtk_grid_set_column_spacing</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="guint"><returnvalue>guint</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-grid-get-column-spacing">gtk_grid_get_column_spacing</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gint"><returnvalue>gint</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-grid-get-baseline-row">gtk_grid_get_baseline_row</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-grid-set-baseline-row">gtk_grid_set_baseline_row</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkBaselinePosition"><returnvalue>GtkBaselinePosition</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-grid-get-row-baseline-position">gtk_grid_get_row_baseline_position</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-grid-set-row-baseline-position">gtk_grid_set_row_baseline_position</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkGrid.properties" role="properties">
<title role="properties.title">Properties</title>
<informaltable frame="none">
<tgroup cols="3">
<colspec colname="properties_type" colwidth="150px"/>
<colspec colname="properties_name" colwidth="300px"/>
<colspec colname="properties_flags" colwidth="200px"/>
<tbody>
<row><entry role="property_type"><link linkend="gint"><type>gint</type></link></entry><entry role="property_name"><link linkend="GtkGrid--baseline-row">baseline-row</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="gboolean"><type>gboolean</type></link></entry><entry role="property_name"><link linkend="GtkGrid--column-homogeneous">column-homogeneous</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="gint"><type>gint</type></link></entry><entry role="property_name"><link linkend="GtkGrid--column-spacing">column-spacing</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="gboolean"><type>gboolean</type></link></entry><entry role="property_name"><link linkend="GtkGrid--row-homogeneous">row-homogeneous</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="gint"><type>gint</type></link></entry><entry role="property_name"><link linkend="GtkGrid--row-spacing">row-spacing</link></entry><entry role="property_flags">Read / Write</entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkGrid.other" role="other_proto">
<title role="other_proto.title">Types and Values</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="other_proto_type" colwidth="150px"/>
<colspec colname="other_proto_name"/>
<tbody>
<row><entry role="datatype_keyword">struct</entry><entry role="function_name"><link linkend="GtkGrid-struct">GtkGrid</link></entry></row>
<row><entry role="datatype_keyword">struct</entry><entry role="function_name"><link linkend="GtkGridClass">GtkGridClass</link></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkGrid.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<screen>    <link linkend="GObject">GObject</link>
    <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> <link linkend="GInitiallyUnowned">GInitiallyUnowned</link>
        <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> <link linkend="GtkWidget">GtkWidget</link>
            <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> GtkGrid
</screen>
</refsect1>
<refsect1 id="GtkGrid.implemented-interfaces" role="impl_interfaces">
<title role="impl_interfaces.title">Implemented Interfaces</title>
<para>
GtkGrid implements
 <link linkend="AtkImplementorIface">AtkImplementorIface</link>,  <link linkend="GtkBuildable">GtkBuildable</link>,  <link linkend="GtkConstraintTarget">GtkConstraintTarget</link> and  <link linkend="GtkOrientable">GtkOrientable</link>.</para>

</refsect1>

<refsect1 id="GtkGrid.includes"><title>Includes</title><synopsis>#include &lt;gtk/gtk.h&gt;
</synopsis></refsect1>

<refsect1 id="GtkGrid.description" role="desc">
<title role="desc.title">Description</title>
<para>GtkGrid is a container which arranges its child widgets in
rows and columns, with arbitrary positions and horizontal/vertical spans.</para>
<para>Children are added using <link linkend="gtk-grid-attach"><function>gtk_grid_attach()</function></link>. They can span multiple
rows or columns. It is also possible to add a child next to an
existing child, using <link linkend="gtk-grid-attach-next-to"><function>gtk_grid_attach_next_to()</function></link>. To remove a child
from the grid, use <link linkend="gtk-grid-remove"><function>gtk_grid_remove()</function></link>. The behaviour of GtkGrid when
several children occupy the same grid cell is undefined.</para>
<refsect2><title>CSS nodes</title><para>GtkGrid uses a single CSS node with name grid.</para>
</refsect2>

</refsect1>
<refsect1 id="GtkGrid.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="gtk-grid-new" role="function">
<title>gtk_grid_new&#160;()</title>
<indexterm zone="gtk-grid-new"><primary>gtk_grid_new</primary></indexterm>
<programlisting language="C"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
gtk_grid_new (<parameter><type>void</type></parameter>);</programlisting>
<para>Creates a new grid widget.</para>
<refsect3 id="gtk-grid-new.returns" role="returns">
<title>Returns</title>
<para> the new <link linkend="GtkGrid"><type>GtkGrid</type></link></para>
</refsect3></refsect2>
<refsect2 id="gtk-grid-attach" role="function">
<title>gtk_grid_attach&#160;()</title>
<indexterm zone="gtk-grid-attach"><primary>gtk_grid_attach</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_grid_attach (<parameter><link linkend="GtkGrid"><type>GtkGrid</type></link> *grid</parameter>,
                 <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *child</parameter>,
                 <parameter><link linkend="gint"><type>gint</type></link> left</parameter>,
                 <parameter><link linkend="gint"><type>gint</type></link> top</parameter>,
                 <parameter><link linkend="gint"><type>gint</type></link> width</parameter>,
                 <parameter><link linkend="gint"><type>gint</type></link> height</parameter>);</programlisting>
<para>Adds a widget to the grid.</para>
<para>The position of <parameter>child</parameter>
 is determined by <parameter>left</parameter>
 and <parameter>top</parameter>
. The
number of “cells” that <parameter>child</parameter>
 will occupy is determined by
<parameter>width</parameter>
 and <parameter>height</parameter>
.</para>
<refsect3 id="gtk-grid-attach.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>grid</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkGrid"><type>GtkGrid</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>child</para></entry>
<entry role="parameter_description"><para>the widget to add</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>left</para></entry>
<entry role="parameter_description"><para>the column number to attach the left side of <parameter>child</parameter>
to</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>top</para></entry>
<entry role="parameter_description"><para>the row number to attach the top side of <parameter>child</parameter>
to</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>width</para></entry>
<entry role="parameter_description"><para>the number of columns that <parameter>child</parameter>
will span</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>height</para></entry>
<entry role="parameter_description"><para>the number of rows that <parameter>child</parameter>
will span</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-grid-attach-next-to" role="function">
<title>gtk_grid_attach_next_to&#160;()</title>
<indexterm zone="gtk-grid-attach-next-to"><primary>gtk_grid_attach_next_to</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_grid_attach_next_to (<parameter><link linkend="GtkGrid"><type>GtkGrid</type></link> *grid</parameter>,
                         <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *child</parameter>,
                         <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *sibling</parameter>,
                         <parameter><link linkend="GtkPositionType"><type>GtkPositionType</type></link> side</parameter>,
                         <parameter><link linkend="gint"><type>gint</type></link> width</parameter>,
                         <parameter><link linkend="gint"><type>gint</type></link> height</parameter>);</programlisting>
<para>Adds a widget to the grid.</para>
<para>The widget is placed next to <parameter>sibling</parameter>
, on the side determined by
<parameter>side</parameter>
. When <parameter>sibling</parameter>
 is <link linkend="NULL:CAPS"><literal>NULL</literal></link>, the widget is placed in row (for
left or right placement) or column 0 (for top or bottom placement),
at the end indicated by <parameter>side</parameter>
.</para>
<para>Attaching widgets labeled [1], [2], [3] with <parameter>sibling</parameter>
 == <link linkend="NULL:CAPS"><literal>NULL</literal></link> and
<parameter>side</parameter>
 == <link linkend="GTK-POS-LEFT:CAPS"><literal>GTK_POS_LEFT</literal></link> yields a layout of <link linkend="2">3</link>[1].</para>
<refsect3 id="gtk-grid-attach-next-to.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>grid</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkGrid"><type>GtkGrid</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>child</para></entry>
<entry role="parameter_description"><para>the widget to add</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>sibling</para></entry>
<entry role="parameter_description"><para>the child of <parameter>grid</parameter>
that <parameter>child</parameter>
will be placed
next to, or <link linkend="NULL:CAPS"><literal>NULL</literal></link> to place <parameter>child</parameter>
at the beginning or end. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>allow-none</acronym>]</emphasis></entry></row>
<row><entry role="parameter_name"><para>side</para></entry>
<entry role="parameter_description"><para>the side of <parameter>sibling</parameter>
that <parameter>child</parameter>
is positioned next to</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>width</para></entry>
<entry role="parameter_description"><para>the number of columns that <parameter>child</parameter>
will span</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>height</para></entry>
<entry role="parameter_description"><para>the number of rows that <parameter>child</parameter>
will span</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-grid-remove" role="function">
<title>gtk_grid_remove&#160;()</title>
<indexterm zone="gtk-grid-remove"><primary>gtk_grid_remove</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_grid_remove (<parameter><link linkend="GtkGrid"><type>GtkGrid</type></link> *grid</parameter>,
                 <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *child</parameter>);</programlisting>
<para>Removes a child from <parameter>grid</parameter>
, after it has been added
with <link linkend="gtk-grid-attach"><function>gtk_grid_attach()</function></link> or <link linkend="gtk-grid-attach-next-to"><function>gtk_grid_attach_next_to()</function></link>.</para>
<refsect3 id="gtk-grid-remove.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>grid</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkGrid"><type>GtkGrid</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>child</para></entry>
<entry role="parameter_description"><para>the child widget to remove</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-grid-get-child-at" role="function">
<title>gtk_grid_get_child_at&#160;()</title>
<indexterm zone="gtk-grid-get-child-at"><primary>gtk_grid_get_child_at</primary></indexterm>
<programlisting language="C"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
gtk_grid_get_child_at (<parameter><link linkend="GtkGrid"><type>GtkGrid</type></link> *grid</parameter>,
                       <parameter><link linkend="gint"><type>gint</type></link> left</parameter>,
                       <parameter><link linkend="gint"><type>gint</type></link> top</parameter>);</programlisting>
<para>Gets the child of <parameter>grid</parameter>
 whose area covers the grid
cell whose upper left corner is at <parameter>left</parameter>
, <parameter>top</parameter>
.</para>
<refsect3 id="gtk-grid-get-child-at.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>grid</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkGrid"><type>GtkGrid</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>left</para></entry>
<entry role="parameter_description"><para>the left edge of the cell</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>top</para></entry>
<entry role="parameter_description"><para>the top edge of the cell</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-grid-get-child-at.returns" role="returns">
<title>Returns</title>
<para>the child at the given position, or <link linkend="NULL:CAPS"><literal>NULL</literal></link>. </para>
<para><emphasis role="annotation">[<acronym>transfer none</acronym>][<acronym>nullable</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-grid-insert-row" role="function">
<title>gtk_grid_insert_row&#160;()</title>
<indexterm zone="gtk-grid-insert-row"><primary>gtk_grid_insert_row</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_grid_insert_row (<parameter><link linkend="GtkGrid"><type>GtkGrid</type></link> *grid</parameter>,
                     <parameter><link linkend="gint"><type>gint</type></link> position</parameter>);</programlisting>
<para>Inserts a row at the specified position.</para>
<para>Children which are attached at or below this position
are moved one row down. Children which span across this
position are grown to span the new row.</para>
<refsect3 id="gtk-grid-insert-row.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>grid</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkGrid"><type>GtkGrid</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>position</para></entry>
<entry role="parameter_description"><para>the position to insert the row at</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-grid-insert-column" role="function">
<title>gtk_grid_insert_column&#160;()</title>
<indexterm zone="gtk-grid-insert-column"><primary>gtk_grid_insert_column</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_grid_insert_column (<parameter><link linkend="GtkGrid"><type>GtkGrid</type></link> *grid</parameter>,
                        <parameter><link linkend="gint"><type>gint</type></link> position</parameter>);</programlisting>
<para>Inserts a column at the specified position.</para>
<para>Children which are attached at or to the right of this position
are moved one column to the right. Children which span across this
position are grown to span the new column.</para>
<refsect3 id="gtk-grid-insert-column.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>grid</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkGrid"><type>GtkGrid</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>position</para></entry>
<entry role="parameter_description"><para>the position to insert the column at</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-grid-remove-row" role="function">
<title>gtk_grid_remove_row&#160;()</title>
<indexterm zone="gtk-grid-remove-row"><primary>gtk_grid_remove_row</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_grid_remove_row (<parameter><link linkend="GtkGrid"><type>GtkGrid</type></link> *grid</parameter>,
                     <parameter><link linkend="gint"><type>gint</type></link> position</parameter>);</programlisting>
<para>Removes a row from the grid.</para>
<para>Children that are placed in this row are removed,
spanning children that overlap this row have their
height reduced by one, and children below the row
are moved up.</para>
<refsect3 id="gtk-grid-remove-row.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>grid</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkGrid"><type>GtkGrid</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>position</para></entry>
<entry role="parameter_description"><para>the position of the row to remove</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-grid-remove-column" role="function">
<title>gtk_grid_remove_column&#160;()</title>
<indexterm zone="gtk-grid-remove-column"><primary>gtk_grid_remove_column</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_grid_remove_column (<parameter><link linkend="GtkGrid"><type>GtkGrid</type></link> *grid</parameter>,
                        <parameter><link linkend="gint"><type>gint</type></link> position</parameter>);</programlisting>
<para>Removes a column from the grid.</para>
<para>Children that are placed in this column are removed,
spanning children that overlap this column have their
width reduced by one, and children after the column
are moved to the left.</para>
<refsect3 id="gtk-grid-remove-column.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>grid</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkGrid"><type>GtkGrid</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>position</para></entry>
<entry role="parameter_description"><para>the position of the column to remove</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-grid-insert-next-to" role="function">
<title>gtk_grid_insert_next_to&#160;()</title>
<indexterm zone="gtk-grid-insert-next-to"><primary>gtk_grid_insert_next_to</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_grid_insert_next_to (<parameter><link linkend="GtkGrid"><type>GtkGrid</type></link> *grid</parameter>,
                         <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *sibling</parameter>,
                         <parameter><link linkend="GtkPositionType"><type>GtkPositionType</type></link> side</parameter>);</programlisting>
<para>Inserts a row or column at the specified position.</para>
<para>The new row or column is placed next to <parameter>sibling</parameter>
, on the side
determined by <parameter>side</parameter>
. If <parameter>side</parameter>
 is <link linkend="GTK-POS-TOP:CAPS"><literal>GTK_POS_TOP</literal></link> or <link linkend="GTK-POS-BOTTOM:CAPS"><literal>GTK_POS_BOTTOM</literal></link>,
a row is inserted. If <parameter>side</parameter>
 is <link linkend="GTK-POS-LEFT:CAPS"><literal>GTK_POS_LEFT</literal></link> of <link linkend="GTK-POS-RIGHT:CAPS"><literal>GTK_POS_RIGHT</literal></link>,
a column is inserted.</para>
<refsect3 id="gtk-grid-insert-next-to.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>grid</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkGrid"><type>GtkGrid</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>sibling</para></entry>
<entry role="parameter_description"><para>the child of <parameter>grid</parameter>
that the new row or column will be
placed next to</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>side</para></entry>
<entry role="parameter_description"><para>the side of <parameter>sibling</parameter>
that <parameter>child</parameter>
is positioned next to</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-grid-set-row-homogeneous" role="function">
<title>gtk_grid_set_row_homogeneous&#160;()</title>
<indexterm zone="gtk-grid-set-row-homogeneous"><primary>gtk_grid_set_row_homogeneous</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_grid_set_row_homogeneous (<parameter><link linkend="GtkGrid"><type>GtkGrid</type></link> *grid</parameter>,
                              <parameter><link linkend="gboolean"><type>gboolean</type></link> homogeneous</parameter>);</programlisting>
<para>Sets whether all rows of <parameter>grid</parameter>
 will have the same height.</para>
<refsect3 id="gtk-grid-set-row-homogeneous.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>grid</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkGrid"><type>GtkGrid</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>homogeneous</para></entry>
<entry role="parameter_description"><para><link linkend="TRUE:CAPS"><literal>TRUE</literal></link> to make rows homogeneous</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-grid-get-row-homogeneous" role="function">
<title>gtk_grid_get_row_homogeneous&#160;()</title>
<indexterm zone="gtk-grid-get-row-homogeneous"><primary>gtk_grid_get_row_homogeneous</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_grid_get_row_homogeneous (<parameter><link linkend="GtkGrid"><type>GtkGrid</type></link> *grid</parameter>);</programlisting>
<para>Returns whether all rows of <parameter>grid</parameter>
 have the same height.</para>
<refsect3 id="gtk-grid-get-row-homogeneous.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>grid</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkGrid"><type>GtkGrid</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-grid-get-row-homogeneous.returns" role="returns">
<title>Returns</title>
<para> whether all rows of <parameter>grid</parameter>
have the same height.</para>
</refsect3></refsect2>
<refsect2 id="gtk-grid-set-row-spacing" role="function">
<title>gtk_grid_set_row_spacing&#160;()</title>
<indexterm zone="gtk-grid-set-row-spacing"><primary>gtk_grid_set_row_spacing</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_grid_set_row_spacing (<parameter><link linkend="GtkGrid"><type>GtkGrid</type></link> *grid</parameter>,
                          <parameter><link linkend="guint"><type>guint</type></link> spacing</parameter>);</programlisting>
<para>Sets the amount of space between rows of <parameter>grid</parameter>
.</para>
<refsect3 id="gtk-grid-set-row-spacing.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>grid</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkGrid"><type>GtkGrid</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>spacing</para></entry>
<entry role="parameter_description"><para>the amount of space to insert between rows</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-grid-get-row-spacing" role="function">
<title>gtk_grid_get_row_spacing&#160;()</title>
<indexterm zone="gtk-grid-get-row-spacing"><primary>gtk_grid_get_row_spacing</primary></indexterm>
<programlisting language="C"><link linkend="guint"><returnvalue>guint</returnvalue></link>
gtk_grid_get_row_spacing (<parameter><link linkend="GtkGrid"><type>GtkGrid</type></link> *grid</parameter>);</programlisting>
<para>Returns the amount of space between the rows of <parameter>grid</parameter>
.</para>
<refsect3 id="gtk-grid-get-row-spacing.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>grid</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkGrid"><type>GtkGrid</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-grid-get-row-spacing.returns" role="returns">
<title>Returns</title>
<para> the row spacing of <parameter>grid</parameter>
</para>
</refsect3></refsect2>
<refsect2 id="gtk-grid-set-column-homogeneous" role="function">
<title>gtk_grid_set_column_homogeneous&#160;()</title>
<indexterm zone="gtk-grid-set-column-homogeneous"><primary>gtk_grid_set_column_homogeneous</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_grid_set_column_homogeneous (<parameter><link linkend="GtkGrid"><type>GtkGrid</type></link> *grid</parameter>,
                                 <parameter><link linkend="gboolean"><type>gboolean</type></link> homogeneous</parameter>);</programlisting>
<para>Sets whether all columns of <parameter>grid</parameter>
 will have the same width.</para>
<refsect3 id="gtk-grid-set-column-homogeneous.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>grid</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkGrid"><type>GtkGrid</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>homogeneous</para></entry>
<entry role="parameter_description"><para><link linkend="TRUE:CAPS"><literal>TRUE</literal></link> to make columns homogeneous</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-grid-get-column-homogeneous" role="function">
<title>gtk_grid_get_column_homogeneous&#160;()</title>
<indexterm zone="gtk-grid-get-column-homogeneous"><primary>gtk_grid_get_column_homogeneous</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_grid_get_column_homogeneous (<parameter><link linkend="GtkGrid"><type>GtkGrid</type></link> *grid</parameter>);</programlisting>
<para>Returns whether all columns of <parameter>grid</parameter>
 have the same width.</para>
<refsect3 id="gtk-grid-get-column-homogeneous.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>grid</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkGrid"><type>GtkGrid</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-grid-get-column-homogeneous.returns" role="returns">
<title>Returns</title>
<para> whether all columns of <parameter>grid</parameter>
have the same width.</para>
</refsect3></refsect2>
<refsect2 id="gtk-grid-set-column-spacing" role="function">
<title>gtk_grid_set_column_spacing&#160;()</title>
<indexterm zone="gtk-grid-set-column-spacing"><primary>gtk_grid_set_column_spacing</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_grid_set_column_spacing (<parameter><link linkend="GtkGrid"><type>GtkGrid</type></link> *grid</parameter>,
                             <parameter><link linkend="guint"><type>guint</type></link> spacing</parameter>);</programlisting>
<para>Sets the amount of space between columns of <parameter>grid</parameter>
.</para>
<refsect3 id="gtk-grid-set-column-spacing.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>grid</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkGrid"><type>GtkGrid</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>spacing</para></entry>
<entry role="parameter_description"><para>the amount of space to insert between columns</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-grid-get-column-spacing" role="function">
<title>gtk_grid_get_column_spacing&#160;()</title>
<indexterm zone="gtk-grid-get-column-spacing"><primary>gtk_grid_get_column_spacing</primary></indexterm>
<programlisting language="C"><link linkend="guint"><returnvalue>guint</returnvalue></link>
gtk_grid_get_column_spacing (<parameter><link linkend="GtkGrid"><type>GtkGrid</type></link> *grid</parameter>);</programlisting>
<para>Returns the amount of space between the columns of <parameter>grid</parameter>
.</para>
<refsect3 id="gtk-grid-get-column-spacing.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>grid</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkGrid"><type>GtkGrid</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-grid-get-column-spacing.returns" role="returns">
<title>Returns</title>
<para> the column spacing of <parameter>grid</parameter>
</para>
</refsect3></refsect2>
<refsect2 id="gtk-grid-get-baseline-row" role="function">
<title>gtk_grid_get_baseline_row&#160;()</title>
<indexterm zone="gtk-grid-get-baseline-row"><primary>gtk_grid_get_baseline_row</primary></indexterm>
<programlisting language="C"><link linkend="gint"><returnvalue>gint</returnvalue></link>
gtk_grid_get_baseline_row (<parameter><link linkend="GtkGrid"><type>GtkGrid</type></link> *grid</parameter>);</programlisting>
<para>Returns which row defines the global baseline of <parameter>grid</parameter>
.</para>
<refsect3 id="gtk-grid-get-baseline-row.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>grid</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkGrid"><type>GtkGrid</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-grid-get-baseline-row.returns" role="returns">
<title>Returns</title>
<para> the row index defining the global baseline</para>
</refsect3></refsect2>
<refsect2 id="gtk-grid-set-baseline-row" role="function">
<title>gtk_grid_set_baseline_row&#160;()</title>
<indexterm zone="gtk-grid-set-baseline-row"><primary>gtk_grid_set_baseline_row</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_grid_set_baseline_row (<parameter><link linkend="GtkGrid"><type>GtkGrid</type></link> *grid</parameter>,
                           <parameter><link linkend="gint"><type>gint</type></link> row</parameter>);</programlisting>
<para>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 <parameter>grid</parameter>
.</para>
<refsect3 id="gtk-grid-set-baseline-row.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>grid</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkGrid"><type>GtkGrid</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>row</para></entry>
<entry role="parameter_description"><para>the row index</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-grid-get-row-baseline-position" role="function">
<title>gtk_grid_get_row_baseline_position&#160;()</title>
<indexterm zone="gtk-grid-get-row-baseline-position"><primary>gtk_grid_get_row_baseline_position</primary></indexterm>
<programlisting language="C"><link linkend="GtkBaselinePosition"><returnvalue>GtkBaselinePosition</returnvalue></link>
gtk_grid_get_row_baseline_position (<parameter><link linkend="GtkGrid"><type>GtkGrid</type></link> *grid</parameter>,
                                    <parameter><link linkend="gint"><type>gint</type></link> row</parameter>);</programlisting>
<para>Returns the baseline position of <parameter>row</parameter>
 as set
by <link linkend="gtk-grid-set-row-baseline-position"><function>gtk_grid_set_row_baseline_position()</function></link> or the default value
<link linkend="GTK-BASELINE-POSITION-CENTER:CAPS"><literal>GTK_BASELINE_POSITION_CENTER</literal></link>.</para>
<refsect3 id="gtk-grid-get-row-baseline-position.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>grid</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkGrid"><type>GtkGrid</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>row</para></entry>
<entry role="parameter_description"><para>a row index</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-grid-get-row-baseline-position.returns" role="returns">
<title>Returns</title>
<para> the baseline position of <parameter>row</parameter>
</para>
</refsect3></refsect2>
<refsect2 id="gtk-grid-set-row-baseline-position" role="function">
<title>gtk_grid_set_row_baseline_position&#160;()</title>
<indexterm zone="gtk-grid-set-row-baseline-position"><primary>gtk_grid_set_row_baseline_position</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_grid_set_row_baseline_position (<parameter><link linkend="GtkGrid"><type>GtkGrid</type></link> *grid</parameter>,
                                    <parameter><link linkend="gint"><type>gint</type></link> row</parameter>,
                                    <parameter><link linkend="GtkBaselinePosition"><type>GtkBaselinePosition</type></link> pos</parameter>);</programlisting>
<para>Sets how the baseline should be positioned on <parameter>row</parameter>
 of the
grid, in case that row is assigned more space than is requested.</para>
<refsect3 id="gtk-grid-set-row-baseline-position.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>grid</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkGrid"><type>GtkGrid</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>row</para></entry>
<entry role="parameter_description"><para>a row index</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>pos</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkBaselinePosition"><type>GtkBaselinePosition</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>

</refsect1>
<refsect1 id="GtkGrid.other_details" role="details">
<title role="details.title">Types and Values</title>
<refsect2 id="GtkGrid-struct" role="struct">
<title>struct GtkGrid</title>
<indexterm zone="GtkGrid-struct"><primary>GtkGrid</primary></indexterm>
<programlisting language="C">struct GtkGrid;</programlisting>
</refsect2>
<refsect2 id="GtkGridClass" role="struct">
<title>struct GtkGridClass</title>
<indexterm zone="GtkGridClass"><primary>GtkGridClass</primary></indexterm>
<programlisting language="C">struct GtkGridClass {
  GtkWidgetClass parent_class;
};
</programlisting>
<refsect3 id="GtkGridClass.members" role="struct_members">
<title>Members</title>
<informaltable role="struct_members_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="struct_members_name" colwidth="300px"/>
<colspec colname="struct_members_description"/>
<colspec colname="struct_members_annotations" colwidth="200px"/>
<tbody>
</tbody></tgroup></informaltable>
</refsect3>
</refsect2>

</refsect1>
<refsect1 id="GtkGrid.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="GtkGrid--baseline-row" role="property"><title>The <literal>“baseline-row”</literal> property</title>
<indexterm zone="GtkGrid--baseline-row"><primary>GtkGrid:baseline-row</primary></indexterm>
<programlisting>  “baseline-row”             <link linkend="gint"><type>gint</type></link></programlisting>
<para>The row to align the to the baseline when valign is GTK_ALIGN_BASELINE.</para><para>Owner: GtkGrid</para>
<para>Flags: Read / Write</para>
<para>Allowed values: &gt;= 0</para>
<para>Default value: 0</para>
</refsect2>
<refsect2 id="GtkGrid--column-homogeneous" role="property"><title>The <literal>“column-homogeneous”</literal> property</title>
<indexterm zone="GtkGrid--column-homogeneous"><primary>GtkGrid:column-homogeneous</primary></indexterm>
<programlisting>  “column-homogeneous”       <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>If TRUE, the columns are all the same width.</para><para>Owner: GtkGrid</para>
<para>Flags: Read / Write</para>
<para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkGrid--column-spacing" role="property"><title>The <literal>“column-spacing”</literal> property</title>
<indexterm zone="GtkGrid--column-spacing"><primary>GtkGrid:column-spacing</primary></indexterm>
<programlisting>  “column-spacing”           <link linkend="gint"><type>gint</type></link></programlisting>
<para>The amount of space between two consecutive columns.</para><para>Owner: GtkGrid</para>
<para>Flags: Read / Write</para>
<para>Allowed values: [0,32767]</para>
<para>Default value: 0</para>
</refsect2>
<refsect2 id="GtkGrid--row-homogeneous" role="property"><title>The <literal>“row-homogeneous”</literal> property</title>
<indexterm zone="GtkGrid--row-homogeneous"><primary>GtkGrid:row-homogeneous</primary></indexterm>
<programlisting>  “row-homogeneous”          <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>If TRUE, the rows are all the same height.</para><para>Owner: GtkGrid</para>
<para>Flags: Read / Write</para>
<para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkGrid--row-spacing" role="property"><title>The <literal>“row-spacing”</literal> property</title>
<indexterm zone="GtkGrid--row-spacing"><primary>GtkGrid:row-spacing</primary></indexterm>
<programlisting>  “row-spacing”              <link linkend="gint"><type>gint</type></link></programlisting>
<para>The amount of space between two consecutive rows.</para><para>Owner: GtkGrid</para>
<para>Flags: Read / Write</para>
<para>Allowed values: [0,32767]</para>
<para>Default value: 0</para>
</refsect2>

</refsect1>
<refsect1 id="GtkGrid.see-also">
<title>See Also</title>
<para><link linkend="GtkBox"><type>GtkBox</type></link></para>

</refsect1>

</refentry>
