Point to GtkGrid from the GtkBox and GtkTable docs

This commit is contained in:
Matthias Clasen 2010-10-22 19:59:29 +02:00
parent d2eac1bf81
commit c750003168
2 changed files with 12 additions and 4 deletions

View File

@ -32,17 +32,22 @@ either side</emphasis> of the widget it belongs to.
gtk_table_set_homogeneous(), can be used to set whether all cells in the
table will resize themselves to the size of the largest widget in the table.
</para>
<para>
Note that #GtkGrid provides the same capabilities as GtkTable for arranging
widgets in a rectangular grid, and additionally supports height-for-width
geometry management.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
<variablelist>
<varlistentry>
<term>#GtkVBox</term>
<listitem><para>For packing widgets vertically only.</para></listitem>
<term>#GtkBox</term>
<listitem><para>For packing widgets in a single row.</para></listitem>
</varlistentry>
<varlistentry>
<term>#GtkHBox</term>
<listitem><para>For packing widgets horizontally only.</para></listitem>
<term>#GtkGrid</term>
<listitem><para>For packing widgets in a grid with height-for-width geometry management.</para></listitem>
</varlistentry>
</variablelist>
</para>

View File

@ -74,6 +74,9 @@
* Use gtk_box_set_child_packing() to reset the #GtkBox:expand,
* #GtkBox:fill and #GtkBox:padding child properties.
* Use gtk_box_query_child_packing() to query these fields.
*
* Note that a single-row or single-column #GtkGrid provides exactly the
* same functionality as #GtkBox.
*/
#include "config.h"