diff options
Diffstat (limited to 'gtk+-mingw/share/gtk-doc/html/gtk3/GtkGrid.html')
-rw-r--r-- | gtk+-mingw/share/gtk-doc/html/gtk3/GtkGrid.html | 656 |
1 files changed, 0 insertions, 656 deletions
diff --git a/gtk+-mingw/share/gtk-doc/html/gtk3/GtkGrid.html b/gtk+-mingw/share/gtk-doc/html/gtk3/GtkGrid.html deleted file mode 100644 index cacecb9..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gtk3/GtkGrid.html +++ /dev/null @@ -1,656 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>GtkGrid</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GTK+ 3 Reference Manual"> -<link rel="up" href="LayoutContainers.html" title="Layout Containers"> -<link rel="prev" href="LayoutContainers.html" title="Layout Containers"> -<link rel="next" href="GtkAlignment.html" title="GtkAlignment"> -<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="LayoutContainers.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="LayoutContainers.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> -<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> -<th width="100%" align="center">GTK+ 3 Reference Manual</th> -<td><a accesskey="n" href="GtkAlignment.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a href="#GtkGrid.synopsis" class="shortcut">Top</a> - | - <a href="#GtkGrid.description" class="shortcut">Description</a> - | - <a href="#GtkGrid.object-hierarchy" class="shortcut">Object Hierarchy</a> - | - <a href="#GtkGrid.implemented-interfaces" class="shortcut">Implemented Interfaces</a> - | - <a href="#GtkGrid.properties" class="shortcut">Properties</a> - | - <a href="#GtkGrid.child-properties" class="shortcut">Child Properties</a> -</td></tr> -</table> -<div class="refentry"> -<a name="GtkGrid"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle"><a name="GtkGrid.top_of_page"></a>GtkGrid</span></h2> -<p>GtkGrid — Pack widgets in a rows and columns</p> -</td> -<td valign="top" align="right"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<a name="GtkGrid.synopsis"></a><h2>Synopsis</h2> -<pre class="synopsis"> -#include <gtk/gtk.h> - -struct <a class="link" href="GtkGrid.html#GtkGrid-struct" title="struct GtkGrid">GtkGrid</a>; -<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkGrid.html#gtk-grid-new" title="gtk_grid_new ()">gtk_grid_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkGrid.html#gtk-grid-attach" title="gtk_grid_attach ()">gtk_grid_attach</a> (<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> left</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> top</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkGrid.html#gtk-grid-attach-next-to" title="gtk_grid_attach_next_to ()">gtk_grid_attach_next_to</a> (<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 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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>); -<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkGrid.html#gtk-grid-get-child-at" title="gtk_grid_get_child_at ()">gtk_grid_get_child_at</a> (<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> left</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> top</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkGrid.html#gtk-grid-insert-row" title="gtk_grid_insert_row ()">gtk_grid_insert_row</a> (<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkGrid.html#gtk-grid-insert-column" title="gtk_grid_insert_column ()">gtk_grid_insert_column</a> (<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkGrid.html#gtk-grid-insert-next-to" title="gtk_grid_insert_next_to ()">gtk_grid_insert_next_to</a> (<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> *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>); -<span class="returnvalue">void</span> <a class="link" href="GtkGrid.html#gtk-grid-set-row-homogeneous" title="gtk_grid_set_row_homogeneous ()">gtk_grid_set_row_homogeneous</a> (<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> homogeneous</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkGrid.html#gtk-grid-get-row-homogeneous" title="gtk_grid_get_row_homogeneous ()">gtk_grid_get_row_homogeneous</a> (<em class="parameter"><code><a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> *grid</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkGrid.html#gtk-grid-set-row-spacing" title="gtk_grid_set_row_spacing ()">gtk_grid_set_row_spacing</a> (<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> spacing</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="GtkGrid.html#gtk-grid-get-row-spacing" title="gtk_grid_get_row_spacing ()">gtk_grid_get_row_spacing</a> (<em class="parameter"><code><a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> *grid</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkGrid.html#gtk-grid-set-column-homogeneous" title="gtk_grid_set_column_homogeneous ()">gtk_grid_set_column_homogeneous</a> (<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> homogeneous</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkGrid.html#gtk-grid-get-column-homogeneous" title="gtk_grid_get_column_homogeneous ()">gtk_grid_get_column_homogeneous</a> (<em class="parameter"><code><a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> *grid</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkGrid.html#gtk-grid-set-column-spacing" title="gtk_grid_set_column_spacing ()">gtk_grid_set_column_spacing</a> (<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> spacing</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="GtkGrid.html#gtk-grid-get-column-spacing" title="gtk_grid_get_column_spacing ()">gtk_grid_get_column_spacing</a> (<em class="parameter"><code><a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> *grid</code></em>); -</pre> -</div> -<div class="refsect1"> -<a name="GtkGrid.object-hierarchy"></a><h2>Object Hierarchy</h2> -<pre class="synopsis"> - <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> - +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a> - +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> - +----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> - +----GtkGrid -</pre> -</div> -<div class="refsect1"> -<a name="GtkGrid.implemented-interfaces"></a><h2>Implemented Interfaces</h2> -<p> -GtkGrid implements - AtkImplementorIface, <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a> and <a class="link" href="gtk3-Orientable.html#GtkOrientable">GtkOrientable</a>.</p> -</div> -<div class="refsect1"> -<a name="GtkGrid.properties"></a><h2>Properties</h2> -<pre class="synopsis"> - "<a class="link" href="GtkGrid.html#GtkGrid--column-homogeneous" title='The "column-homogeneous" property'>column-homogeneous</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write - "<a class="link" href="GtkGrid.html#GtkGrid--column-spacing" title='The "column-spacing" property'>column-spacing</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write - "<a class="link" href="GtkGrid.html#GtkGrid--row-homogeneous" title='The "row-homogeneous" property'>row-homogeneous</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write - "<a class="link" href="GtkGrid.html#GtkGrid--row-spacing" title='The "row-spacing" property'>row-spacing</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write -</pre> -</div> -<div class="refsect1"> -<a name="GtkGrid.child-properties"></a><h2>Child Properties</h2> -<pre class="synopsis"> - "<a class="link" href="GtkGrid.html#GtkGrid--c-height" title='The "height" child property'>height</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write - "<a class="link" href="GtkGrid.html#GtkGrid--c-left-attach" title='The "left-attach" child property'>left-attach</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write - "<a class="link" href="GtkGrid.html#GtkGrid--c-top-attach" title='The "top-attach" child property'>top-attach</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write - "<a class="link" href="GtkGrid.html#GtkGrid--c-width" title='The "width" child property'>width</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write -</pre> -</div> -<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> -<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> -</div> -<div class="refsect1"> -<a name="GtkGrid.details"></a><h2>Details</h2> -<div class="refsect2"> -<a name="GtkGrid-struct"></a><h3>struct GtkGrid</h3> -<pre class="programlisting">struct GtkGrid;</pre> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-grid-new"></a><h3>gtk_grid_new ()</h3> -<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_grid_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> -<p> -Creates a new grid widget. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the new <a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-grid-attach"></a><h3>gtk_grid_attach ()</h3> -<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> left</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> top</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> 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> and <em class="parameter"><code>top</code></em>. The -number of 'cells' that <em class="parameter"><code>child</code></em> will occupy is determined by -<em class="parameter"><code>width</code></em> and <em class="parameter"><code>height</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>grid</code></em> :</span></p></td> -<td>a <a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td> -<td>the widget to add</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>left</code></em> :</span></p></td> -<td>the column number to attach the left side of <em class="parameter"><code>child</code></em> to</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>top</code></em> :</span></p></td> -<td>the row number to attach the top side of <em class="parameter"><code>child</code></em> to</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td> -<td>the number of columns that <em class="parameter"><code>child</code></em> will span</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td> -<td>the number of rows that <em class="parameter"><code>child</code></em> will span</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-grid-attach-next-to"></a><h3>gtk_grid_attach_next_to ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_grid_attach_next_to (<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 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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> 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="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, 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="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> 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][2][1]. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>grid</code></em> :</span></p></td> -<td>a <a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td> -<td>the widget to add</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>sibling</code></em> :</span></p></td> -<td>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="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to place <em class="parameter"><code>child</code></em> at the beginning or end. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>side</code></em> :</span></p></td> -<td>the side of <em class="parameter"><code>sibling</code></em> that <em class="parameter"><code>child</code></em> is positioned next to</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td> -<td>the number of columns that <em class="parameter"><code>child</code></em> will span</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td> -<td>the number of rows that <em class="parameter"><code>child</code></em> will span</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> left</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> 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>, <em class="parameter"><code>top</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>grid</code></em> :</span></p></td> -<td>a <a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>left</code></em> :</span></p></td> -<td>the left edge of the cell</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>top</code></em> :</span></p></td> -<td>the top edge of the cell</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the child at the given position, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 3.2</p> -</div> -<hr> -<div class="refsect2"> -<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> 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 -position are grown to span the new row. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>grid</code></em> :</span></p></td> -<td>a <a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td> -<td>the position to insert the row at</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 3.2</p> -</div> -<hr> -<div class="refsect2"> -<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> 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 -position are grown to span the new column. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>grid</code></em> :</span></p></td> -<td>a <a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td> -<td>the position to insert the column at</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 3.2</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-grid-insert-next-to"></a><h3>gtk_grid_insert_next_to ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_grid_insert_next_to (<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> *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>);</pre> -<p> -Inserts a row or column at the specified position. -</p> -<p> -The new row or column is placed next to <em class="parameter"><code>sibling</code></em>, on the side -determined by <em class="parameter"><code>side</code></em>. If <em class="parameter"><code>side</code></em> is <a class="link" href="gtk3-Standard-Enumerations.html#GTK-POS-TOP:CAPS"><code class="literal">GTK_POS_TOP</code></a> or <a class="link" href="gtk3-Standard-Enumerations.html#GTK-POS-BOTTOM:CAPS"><code class="literal">GTK_POS_BOTTOM</code></a>, -a row is inserted. If <em class="parameter"><code>side</code></em> is <a class="link" href="gtk3-Standard-Enumerations.html#GTK-POS-LEFT:CAPS"><code class="literal">GTK_POS_LEFT</code></a> of <a class="link" href="gtk3-Standard-Enumerations.html#GTK-POS-RIGHT:CAPS"><code class="literal">GTK_POS_RIGHT</code></a>, -a column is inserted. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>grid</code></em> :</span></p></td> -<td>a <a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>sibling</code></em> :</span></p></td> -<td>the child of <em class="parameter"><code>grid</code></em> that the new row or column will be -placed next to</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>side</code></em> :</span></p></td> -<td>the side of <em class="parameter"><code>sibling</code></em> that <em class="parameter"><code>child</code></em> is positioned next to</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 3.2</p> -</div> -<hr> -<div class="refsect2"> -<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> 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="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>grid</code></em> :</span></p></td> -<td>a <a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>homogeneous</code></em> :</span></p></td> -<td> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to make rows homogeneous</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-grid-get-row-homogeneous"></a><h3>gtk_grid_get_row_homogeneous ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>grid</code></em> :</span></p></td> -<td>a <a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>whether all rows of <em class="parameter"><code>grid</code></em> have the same height.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> spacing</code></em>);</pre> -<p> -Sets the amount of space between rows of <em class="parameter"><code>grid</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>grid</code></em> :</span></p></td> -<td>a <a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>spacing</code></em> :</span></p></td> -<td>the amount of space to insert between rows</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-grid-get-row-spacing"></a><h3>gtk_grid_get_row_spacing ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 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> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>grid</code></em> :</span></p></td> -<td>a <a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the row spacing of <em class="parameter"><code>grid</code></em> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> 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="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>grid</code></em> :</span></p></td> -<td>a <a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>homogeneous</code></em> :</span></p></td> -<td> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to make columns homogeneous</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-grid-get-column-homogeneous"></a><h3>gtk_grid_get_column_homogeneous ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>grid</code></em> :</span></p></td> -<td>a <a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>whether all columns of <em class="parameter"><code>grid</code></em> have the same width.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> spacing</code></em>);</pre> -<p> -Sets the amount of space between columns of <em class="parameter"><code>grid</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>grid</code></em> :</span></p></td> -<td>a <a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>spacing</code></em> :</span></p></td> -<td>the amount of space to insert between columns</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-grid-get-column-spacing"></a><h3>gtk_grid_get_column_spacing ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 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> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>grid</code></em> :</span></p></td> -<td>a <a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the column spacing of <em class="parameter"><code>grid</code></em> -</td> -</tr> -</tbody> -</table></div> -</div> -</div> -<div class="refsect1"> -<a name="GtkGrid.property-details"></a><h2>Property Details</h2> -<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre> -<p>If TRUE, the columns are all the same width.</p> -<p>Default value: FALSE</p> -</div> -<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre> -<p>The amount of space between two consecutive columns.</p> -<p>Allowed values: [0,32767]</p> -<p>Default value: 0</p> -</div> -<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre> -<p>If TRUE, the rows are all the same height.</p> -<p>Default value: FALSE</p> -</div> -<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre> -<p>The amount of space between two consecutive rows.</p> -<p>Allowed values: [0,32767]</p> -<p>Default value: 0</p> -</div> -</div> -<div class="refsect1"> -<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre> -<p>The number of rows that a child spans.</p> -<p>Allowed values: >= 1</p> -<p>Default value: 1</p> -</div> -<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre> -<p>The column number to attach the left side of the child to.</p> -<p>Default value: 0</p> -</div> -<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre> -<p>The row number to attach the top side of a child widget to.</p> -<p>Default value: 0</p> -</div> -<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre> -<p>The number of columns that a child spans.</p> -<p>Allowed values: >= 1</p> -<p>Default value: 1</p> -</div> -</div> -<div class="refsect1"> -<a name="GtkGrid.see-also"></a><h2>See Also</h2> -<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> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18.1</div> -</body> -</html>
\ No newline at end of file |