New upstream version 3.24.2
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
<link rel="up" href="LayoutContainers.html" title="Layout Containers">
|
||||
<link rel="prev" href="GtkBox.html" title="GtkBox">
|
||||
<link rel="next" href="GtkRevealer.html" title="GtkRevealer">
|
||||
<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -125,7 +125,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkGrid.html#gtk-grid-get-row-homogeneous" title="gtk_grid_get_row_homogeneous ()">gtk_grid_get_row_homogeneous</a> <span class="c_punctuation">()</span>
|
||||
@ -141,7 +141,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<span class="returnvalue">guint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkGrid.html#gtk-grid-get-row-spacing" title="gtk_grid_get_row_spacing ()">gtk_grid_get_row_spacing</a> <span class="c_punctuation">()</span>
|
||||
@ -157,7 +157,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkGrid.html#gtk-grid-get-column-homogeneous" title="gtk_grid_get_column_homogeneous ()">gtk_grid_get_column_homogeneous</a> <span class="c_punctuation">()</span>
|
||||
@ -173,7 +173,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<span class="returnvalue">guint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkGrid.html#gtk-grid-get-column-spacing" title="gtk_grid_get_column_spacing ()">gtk_grid_get_column_spacing</a> <span class="c_punctuation">()</span>
|
||||
@ -181,7 +181,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkGrid.html#gtk-grid-get-baseline-row" title="gtk_grid_get_baseline_row ()">gtk_grid_get_baseline_row</a> <span class="c_punctuation">()</span>
|
||||
@ -224,27 +224,27 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkGrid.html#GtkGrid--baseline-row" title="The “baseline-row” property">baseline-row</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkGrid.html#GtkGrid--column-homogeneous" title="The “column-homogeneous” property">column-homogeneous</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkGrid.html#GtkGrid--column-spacing" title="The “column-spacing” property">column-spacing</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkGrid.html#GtkGrid--row-homogeneous" title="The “row-homogeneous” property">row-homogeneous</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkGrid.html#GtkGrid--row-spacing" title="The “row-spacing” property">row-spacing</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -261,22 +261,22 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkGrid.html#GtkGrid--c-height" title="The “height” child property">height</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkGrid.html#GtkGrid--c-left-attach" title="The “left-attach” child property">left-attach</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkGrid.html#GtkGrid--c-top-attach" title="The “top-attach” child property">top-attach</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkGrid.html#GtkGrid--c-width" title="The “width” child property">width</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -304,8 +304,8 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkGrid.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<span class="lineart">╰──</span> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GInitiallyUnowned
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
|
||||
<span class="lineart">╰──</span> GtkGrid
|
||||
@ -325,17 +325,15 @@ GtkGrid implements
|
||||
<div class="refsect1">
|
||||
<a name="GtkGrid.description"></a><h2>Description</h2>
|
||||
<p>GtkGrid is a container which arranges its child widgets in
|
||||
rows and columns. It is a very similar to <a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> and <a class="link" href="GtkBox.html" title="GtkBox"><span class="type">GtkBox</span></a>,
|
||||
but it consistently uses <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>’s <a class="link" href="GtkWidget.html#GtkWidget--margin" title="The “margin” property"><span class="type">“margin”</span></a> and <a class="link" href="GtkWidget.html#GtkWidget--expand" title="The “expand” property"><span class="type">“expand”</span></a>
|
||||
properties instead of custom child properties, and it fully supports
|
||||
<a class="link" href="GtkWidget.html#geometry-management" title="Height-for-width Geometry Management">height-for-width geometry management</a>.</p>
|
||||
rows and columns, with arbitrary positions and horizontal/vertical spans.</p>
|
||||
<p>Children are added using <a class="link" href="GtkGrid.html#gtk-grid-attach" title="gtk_grid_attach ()"><code class="function">gtk_grid_attach()</code></a>. They can span multiple
|
||||
rows or columns. It is also possible to add a child next to an
|
||||
existing child, using <a class="link" href="GtkGrid.html#gtk-grid-attach-next-to" title="gtk_grid_attach_next_to ()"><code class="function">gtk_grid_attach_next_to()</code></a>. The behaviour of
|
||||
GtkGrid when several children occupy the same grid cell is undefined.</p>
|
||||
<p>GtkGrid can be used like a <a class="link" href="GtkBox.html" title="GtkBox"><span class="type">GtkBox</span></a> by just using <a class="link" href="GtkContainer.html#gtk-container-add" title="gtk_container_add ()"><code class="function">gtk_container_add()</code></a>,
|
||||
which will place children next to each other in the direction determined
|
||||
by the <a class="link" href="gtk3-Orientable.html#GtkOrientable--orientation" title="The “orientation” property"><span class="type">“orientation”</span></a> property.</p>
|
||||
by the <a class="link" href="gtk3-Orientable.html#GtkOrientable--orientation" title="The “orientation” property"><span class="type">“orientation”</span></a> property. However, if all you want is a
|
||||
single row or column, then <a class="link" href="GtkBox.html" title="GtkBox"><span class="type">GtkBox</span></a> is the preferred widget.</p>
|
||||
<div class="refsect2">
|
||||
<a name="id-1.3.7.3.10.5"></a><h3>CSS nodes</h3>
|
||||
<p>GtkGrid uses a single CSS node with name grid.</p>
|
||||
@ -359,10 +357,10 @@ gtk_grid_new (<em class="parameter"><code><span class="type">void</span></code><
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_grid_attach (<em class="parameter"><code><a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> *grid</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> left</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> top</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> left</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> top</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> height</code></em>);</pre>
|
||||
<p>Adds a widget to the grid.</p>
|
||||
<p>The position of <em class="parameter"><code>child</code></em>
|
||||
is determined by <em class="parameter"><code>left</code></em>
|
||||
@ -428,19 +426,19 @@ gtk_grid_attach_next_to (<em class="parameter"><code><a class="link" href="GtkGr
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *sibling</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkPositionType" title="enum GtkPositionType"><span class="type">GtkPositionType</span></a> side</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> height</code></em>);</pre>
|
||||
<p>Adds a widget to the grid.</p>
|
||||
<p>The widget is placed next to <em class="parameter"><code>sibling</code></em>
|
||||
, on the side determined by
|
||||
<em class="parameter"><code>side</code></em>
|
||||
. When <em class="parameter"><code>sibling</code></em>
|
||||
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the widget is placed in row (for
|
||||
is <code class="literal">NULL</code>, the widget is placed in row (for
|
||||
left or right placement) or column 0 (for top or bottom placement),
|
||||
at the end indicated by <em class="parameter"><code>side</code></em>
|
||||
.</p>
|
||||
<p>Attaching widgets labeled [1], [2], [3] with <em class="parameter"><code>sibling</code></em>
|
||||
== <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> and
|
||||
== <code class="literal">NULL</code> and
|
||||
<em class="parameter"><code>side</code></em>
|
||||
== <a class="link" href="gtk3-Standard-Enumerations.html#GTK-POS-LEFT:CAPS"><code class="literal">GTK_POS_LEFT</code></a> yields a layout of 3[1].</p>
|
||||
<div class="refsect3">
|
||||
@ -467,7 +465,7 @@ at the end indicated by <em class="parameter"><code>side</code></em>
|
||||
<td class="parameter_description"><p>the child of <em class="parameter"><code>grid</code></em>
|
||||
that <em class="parameter"><code>child</code></em>
|
||||
will be placed
|
||||
next to, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to place <em class="parameter"><code>child</code></em>
|
||||
next to, or <code class="literal">NULL</code> to place <em class="parameter"><code>child</code></em>
|
||||
at the beginning or end. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
@ -499,8 +497,8 @@ will span</p></td>
|
||||
<a name="gtk-grid-get-child-at"></a><h3>gtk_grid_get_child_at ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
||||
gtk_grid_get_child_at (<em class="parameter"><code><a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> *grid</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> left</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> top</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> left</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> top</code></em>);</pre>
|
||||
<p>Gets the child of <em class="parameter"><code>grid</code></em>
|
||||
whose area covers the grid
|
||||
cell whose upper left corner is at <em class="parameter"><code>left</code></em>
|
||||
@ -535,7 +533,7 @@ cell whose upper left corner is at <em class="parameter"><code>left</code></em>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-grid-get-child-at.returns"></a><h4>Returns</h4>
|
||||
<p>the child at the given position, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
<p>the child at the given position, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-2.html#api-index-3.2">3.2</a></p>
|
||||
@ -545,7 +543,7 @@ cell whose upper left corner is at <em class="parameter"><code>left</code></em>
|
||||
<a name="gtk-grid-insert-row"></a><h3>gtk_grid_insert_row ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_grid_insert_row (<em class="parameter"><code><a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> *grid</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> position</code></em>);</pre>
|
||||
<p>Inserts a row at the specified position.</p>
|
||||
<p>Children which are attached at or below this position
|
||||
are moved one row down. Children which span across this
|
||||
@ -579,7 +577,7 @@ position are grown to span the new row.</p>
|
||||
<a name="gtk-grid-insert-column"></a><h3>gtk_grid_insert_column ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_grid_insert_column (<em class="parameter"><code><a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> *grid</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> position</code></em>);</pre>
|
||||
<p>Inserts a column at the specified position.</p>
|
||||
<p>Children which are attached at or to the right of this position
|
||||
are moved one column to the right. Children which span across this
|
||||
@ -613,7 +611,7 @@ position are grown to span the new column.</p>
|
||||
<a name="gtk-grid-remove-row"></a><h3>gtk_grid_remove_row ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_grid_remove_row (<em class="parameter"><code><a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> *grid</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> position</code></em>);</pre>
|
||||
<p>Removes a row from the grid.</p>
|
||||
<p>Children that are placed in this row are removed,
|
||||
spanning children that overlap this row have their
|
||||
@ -648,7 +646,7 @@ are moved up.</p>
|
||||
<a name="gtk-grid-remove-column"></a><h3>gtk_grid_remove_column ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_grid_remove_column (<em class="parameter"><code><a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> *grid</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> position</code></em>);</pre>
|
||||
<p>Removes a column from the grid.</p>
|
||||
<p>Children that are placed in this column are removed,
|
||||
spanning children that overlap this column have their
|
||||
@ -732,7 +730,7 @@ is positioned next to</p></td>
|
||||
<a name="gtk-grid-set-row-homogeneous"></a><h3>gtk_grid_set_row_homogeneous ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_grid_set_row_homogeneous (<em class="parameter"><code><a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> *grid</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> homogeneous</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> homogeneous</code></em>);</pre>
|
||||
<p>Sets whether all rows of <em class="parameter"><code>grid</code></em>
|
||||
will have the same height.</p>
|
||||
<div class="refsect3">
|
||||
@ -751,7 +749,7 @@ gtk_grid_set_row_homogeneous (<em class="parameter"><code><a class="link" href="
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>homogeneous</p></td>
|
||||
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to make rows homogeneous</p></td>
|
||||
<td class="parameter_description"><p><code class="literal">TRUE</code> to make rows homogeneous</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -761,7 +759,7 @@ gtk_grid_set_row_homogeneous (<em class="parameter"><code><a class="link" href="
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-grid-get-row-homogeneous"></a><h3>gtk_grid_get_row_homogeneous ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_grid_get_row_homogeneous (<em class="parameter"><code><a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> *grid</code></em>);</pre>
|
||||
<p>Returns whether all rows of <em class="parameter"><code>grid</code></em>
|
||||
have the same height.</p>
|
||||
@ -791,7 +789,7 @@ have the same height.</p>
|
||||
<a name="gtk-grid-set-row-spacing"></a><h3>gtk_grid_set_row_spacing ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_grid_set_row_spacing (<em class="parameter"><code><a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> *grid</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> spacing</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint</span> spacing</code></em>);</pre>
|
||||
<p>Sets the amount of space between rows of <em class="parameter"><code>grid</code></em>
|
||||
.</p>
|
||||
<div class="refsect3">
|
||||
@ -820,7 +818,7 @@ gtk_grid_set_row_spacing (<em class="parameter"><code><a class="link" href="GtkG
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-grid-get-row-spacing"></a><h3>gtk_grid_get_row_spacing ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">guint</span>
|
||||
gtk_grid_get_row_spacing (<em class="parameter"><code><a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> *grid</code></em>);</pre>
|
||||
<p>Returns the amount of space between the rows of <em class="parameter"><code>grid</code></em>
|
||||
.</p>
|
||||
@ -850,7 +848,7 @@ gtk_grid_get_row_spacing (<em class="parameter"><code><a class="link" href="GtkG
|
||||
<a name="gtk-grid-set-column-homogeneous"></a><h3>gtk_grid_set_column_homogeneous ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_grid_set_column_homogeneous (<em class="parameter"><code><a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> *grid</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> homogeneous</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> homogeneous</code></em>);</pre>
|
||||
<p>Sets whether all columns of <em class="parameter"><code>grid</code></em>
|
||||
will have the same width.</p>
|
||||
<div class="refsect3">
|
||||
@ -869,7 +867,7 @@ gtk_grid_set_column_homogeneous (<em class="parameter"><code><a class="link" hre
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>homogeneous</p></td>
|
||||
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to make columns homogeneous</p></td>
|
||||
<td class="parameter_description"><p><code class="literal">TRUE</code> to make columns homogeneous</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -879,7 +877,7 @@ gtk_grid_set_column_homogeneous (<em class="parameter"><code><a class="link" hre
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-grid-get-column-homogeneous"></a><h3>gtk_grid_get_column_homogeneous ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_grid_get_column_homogeneous (<em class="parameter"><code><a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> *grid</code></em>);</pre>
|
||||
<p>Returns whether all columns of <em class="parameter"><code>grid</code></em>
|
||||
have the same width.</p>
|
||||
@ -909,7 +907,7 @@ have the same width.</p>
|
||||
<a name="gtk-grid-set-column-spacing"></a><h3>gtk_grid_set_column_spacing ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_grid_set_column_spacing (<em class="parameter"><code><a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> *grid</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> spacing</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">guint</span> spacing</code></em>);</pre>
|
||||
<p>Sets the amount of space between columns of <em class="parameter"><code>grid</code></em>
|
||||
.</p>
|
||||
<div class="refsect3">
|
||||
@ -938,7 +936,7 @@ gtk_grid_set_column_spacing (<em class="parameter"><code><a class="link" href="G
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-grid-get-column-spacing"></a><h3>gtk_grid_get_column_spacing ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">guint</span>
|
||||
gtk_grid_get_column_spacing (<em class="parameter"><code><a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> *grid</code></em>);</pre>
|
||||
<p>Returns the amount of space between the columns of <em class="parameter"><code>grid</code></em>
|
||||
.</p>
|
||||
@ -966,7 +964,7 @@ gtk_grid_get_column_spacing (<em class="parameter"><code><a class="link" href="G
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-grid-get-baseline-row"></a><h3>gtk_grid_get_baseline_row ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gtk_grid_get_baseline_row (<em class="parameter"><code><a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> *grid</code></em>);</pre>
|
||||
<p>Returns which row defines the global baseline of <em class="parameter"><code>grid</code></em>
|
||||
.</p>
|
||||
@ -996,7 +994,7 @@ gtk_grid_get_baseline_row (<em class="parameter"><code><a class="link" href="Gtk
|
||||
<a name="gtk-grid-set-baseline-row"></a><h3>gtk_grid_set_baseline_row ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_grid_set_baseline_row (<em class="parameter"><code><a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> *grid</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> row</code></em>);</pre>
|
||||
<p>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
|
||||
@ -1031,7 +1029,7 @@ parent of the <em class="parameter"><code>grid</code></em>
|
||||
<a name="gtk-grid-get-row-baseline-position"></a><h3>gtk_grid_get_row_baseline_position ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="gtk3-Standard-Enumerations.html#GtkBaselinePosition" title="enum GtkBaselinePosition"><span class="returnvalue">GtkBaselinePosition</span></a>
|
||||
gtk_grid_get_row_baseline_position (<em class="parameter"><code><a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> *grid</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> row</code></em>);</pre>
|
||||
<p>Returns the baseline position of <em class="parameter"><code>row</code></em>
|
||||
as set
|
||||
by <a class="link" href="GtkGrid.html#gtk-grid-set-row-baseline-position" title="gtk_grid_set_row_baseline_position ()"><code class="function">gtk_grid_set_row_baseline_position()</code></a> or the default value
|
||||
@ -1070,7 +1068,7 @@ by <a class="link" href="GtkGrid.html#gtk-grid-set-row-baseline-position" title=
|
||||
<a name="gtk-grid-set-row-baseline-position"></a><h3>gtk_grid_set_row_baseline_position ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_grid_set_row_baseline_position (<em class="parameter"><code><a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> *grid</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> row</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkBaselinePosition" title="enum GtkBaselinePosition"><span class="type">GtkBaselinePosition</span></a> pos</code></em>);</pre>
|
||||
<p>Sets how the baseline should be positioned on <em class="parameter"><code>row</code></em>
|
||||
of the
|
||||
@ -1135,7 +1133,7 @@ grid, in case that row is assigned more space than is requested.</p>
|
||||
<a name="GtkGrid.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkGrid--baseline-row"></a><h3>The <code class="literal">“baseline-row”</code> property</h3>
|
||||
<pre class="programlisting"> “baseline-row” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “baseline-row” <span class="type">gint</span></pre>
|
||||
<p>The row to align the to the baseline when valign is GTK_ALIGN_BASELINE.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: >= 0</p>
|
||||
@ -1144,7 +1142,7 @@ grid, in case that row is assigned more space than is requested.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkGrid--column-homogeneous"></a><h3>The <code class="literal">“column-homogeneous”</code> property</h3>
|
||||
<pre class="programlisting"> “column-homogeneous” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “column-homogeneous” <span class="type">gboolean</span></pre>
|
||||
<p>If TRUE, the columns are all the same width.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: FALSE</p>
|
||||
@ -1152,7 +1150,7 @@ grid, in case that row is assigned more space than is requested.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkGrid--column-spacing"></a><h3>The <code class="literal">“column-spacing”</code> property</h3>
|
||||
<pre class="programlisting"> “column-spacing” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “column-spacing” <span class="type">gint</span></pre>
|
||||
<p>The amount of space between two consecutive columns.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: [0,32767]</p>
|
||||
@ -1161,7 +1159,7 @@ grid, in case that row is assigned more space than is requested.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkGrid--row-homogeneous"></a><h3>The <code class="literal">“row-homogeneous”</code> property</h3>
|
||||
<pre class="programlisting"> “row-homogeneous” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “row-homogeneous” <span class="type">gboolean</span></pre>
|
||||
<p>If TRUE, the rows are all the same height.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: FALSE</p>
|
||||
@ -1169,7 +1167,7 @@ grid, in case that row is assigned more space than is requested.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkGrid--row-spacing"></a><h3>The <code class="literal">“row-spacing”</code> property</h3>
|
||||
<pre class="programlisting"> “row-spacing” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “row-spacing” <span class="type">gint</span></pre>
|
||||
<p>The amount of space between two consecutive rows.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: [0,32767]</p>
|
||||
@ -1180,7 +1178,7 @@ grid, in case that row is assigned more space than is requested.</p>
|
||||
<a name="GtkGrid.child-property-details"></a><h2>Child Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkGrid--c-height"></a><h3>The <code class="literal">“height”</code> child property</h3>
|
||||
<pre class="programlisting"> “height” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “height” <span class="type">gint</span></pre>
|
||||
<p>The number of rows that a child spans.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: >= 1</p>
|
||||
@ -1189,7 +1187,7 @@ grid, in case that row is assigned more space than is requested.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkGrid--c-left-attach"></a><h3>The <code class="literal">“left-attach”</code> child property</h3>
|
||||
<pre class="programlisting"> “left-attach” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “left-attach” <span class="type">gint</span></pre>
|
||||
<p>The column number to attach the left side of the child to.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: 0</p>
|
||||
@ -1197,7 +1195,7 @@ grid, in case that row is assigned more space than is requested.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkGrid--c-top-attach"></a><h3>The <code class="literal">“top-attach”</code> child property</h3>
|
||||
<pre class="programlisting"> “top-attach” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “top-attach” <span class="type">gint</span></pre>
|
||||
<p>The row number to attach the top side of a child widget to.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: 0</p>
|
||||
@ -1205,7 +1203,7 @@ grid, in case that row is assigned more space than is requested.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkGrid--c-width"></a><h3>The <code class="literal">“width”</code> child property</h3>
|
||||
<pre class="programlisting"> “width” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “width” <span class="type">gint</span></pre>
|
||||
<p>The number of columns that a child spans.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: >= 1</p>
|
||||
@ -1214,10 +1212,10 @@ grid, in case that row is assigned more space than is requested.</p>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkGrid.see-also"></a><h2>See Also</h2>
|
||||
<p><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a>, <a class="link" href="GtkHBox.html" title="GtkHBox"><span class="type">GtkHBox</span></a>, <a class="link" href="GtkVBox.html" title="GtkVBox"><span class="type">GtkVBox</span></a></p>
|
||||
<p><a class="link" href="GtkBox.html" title="GtkBox"><span class="type">GtkBox</span></a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.28</div>
|
||||
<hr>Generated by GTK-Doc V1.29</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user