cvs: php-gtk-doc /manual/en/reference/gtk gtkhbox.xml gtkvbox.xml
| From: | Scott Mattocks | Date: | Fri, 04 Nov 2005 17:01:00 +0000 |
| Subject: | cvs: php-gtk-doc /manual/en/reference/gtk gtkhbox.xml gtkvbox.xml | ||
| Groups: | php.gtk.doc | ||
| Request: | Send a blank email to php-gtk-doc+get-1623@lists.php.net to get a copy of this message | ||
scottmattocks Fri Nov 4 12:01:00 2005 EDT
Modified files:
/php-gtk-doc/manual/en/reference/gtk gtkhbox.xml gtkvbox.xml
Log:
This will fill in the entry for GtkHBox, and tweak a word or two in GtkVBox to avoid ambiguities.
Patch provided by Jp.
http://cvs.php.net/diff.php/php-gtk-doc/manual/en/reference/gtk/gtkhbox.xml?r1=1.2&r2=1.3&ty=u
Index: php-gtk-doc/manual/en/reference/gtk/gtkhbox.xml
diff -u php-gtk-doc/manual/en/reference/gtk/gtkhbox.xml:1.2
php-gtk-doc/manual/en/reference/gtk/gtkhbox.xml:1.3
--- php-gtk-doc/manual/en/reference/gtk/gtkhbox.xml:1.2 Tue Aug 2 07:01:45 2005
+++ php-gtk-doc/manual/en/reference/gtk/gtkhbox.xml Fri Nov 4 12:00:56 2005
@@ -4,10 +4,31 @@
<classtitle>GtkHBox</classtitle>
<classparent>GtkBox</classparent>
<shortdesc>
-
+ A horizontal box for organizing child widgets.
</shortdesc>
<desc>
-
+ <para>
+ The <classname>GtkHBox</classname> container is designed to organize child
+ widgets along a single row, allocating the same height to all children.
+ This overrides any child requisition size, and child widgets that take up
+ less than the allocated space are horizontally centered by default within
+ that space.
+ </para>
+ <para>
+ Adding child widgets to a <classname>GtkHBox</classname> is done by packing
+ methods that are either inherited from the <classname>GtkBox</classname>
+ class, such as <function class="GtkBox">pack_start</function>, or by the
+ less flexible <function class="GtkContainer">add</function>, common to
all
+ container widgets.
+ </para>
+ <para>GtkHBox and GtkVBox, in combination, are the most commonly used
+ packing widgets.For sample code on how to use both, check the
+ <classname>GtkVBox</classname> constructor entry.</para>
+ <para>
+ See also:
+ <classname>GtkVBox</classname>, <classname>GtkTable</classname>,
<classname>GtkButtonBox</classname>,
+ <classname>GtkBox</classname>, <classname>GtkContainer</classname>.
+ </para>
</desc>
</classmeta>
@@ -18,14 +39,20 @@
<funcprototype>
<funcdef> <function>GtkHBox</function></funcdef>
<paramdef>bool <parameter><optional>homogeneous =
FALSE</optional></parameter></paramdef>
- <paramdef>int <parameter>spacing</parameter></paramdef>
+ <paramdef>int <parameter><optional>spacing =
0</optional></parameter></paramdef>
</funcprototype>
</funcsynopsis>
<shortdesc>
-
+ Creates a container that arranges widgets horizontally.
</shortdesc>
<desc>
-
+ <para>
+ The parameter <parameter>homogeneous</parameter> is a boolean value which defines
whether all
+ child widgets in the box should be assigned the width of the largest widget. The default
+ behaviour (false) is to maintain the individual width of the widgets unchanged.
+ The second parameter, <parameter>spacing</parameter>, defines the minimum number
of pixels to
+ be left between widgets.
+ </para>
</desc>
</constructor>
http://cvs.php.net/diff.php/php-gtk-doc/manual/en/reference/gtk/gtkvbox.xml?r1=1.3&r2=1.4&ty=u
Index: php-gtk-doc/manual/en/reference/gtk/gtkvbox.xml
diff -u php-gtk-doc/manual/en/reference/gtk/gtkvbox.xml:1.3
php-gtk-doc/manual/en/reference/gtk/gtkvbox.xml:1.4
--- php-gtk-doc/manual/en/reference/gtk/gtkvbox.xml:1.3 Mon Oct 31 05:31:39 2005
+++ php-gtk-doc/manual/en/reference/gtk/gtkvbox.xml Fri Nov 4 12:00:56 2005
@@ -9,7 +9,7 @@
<desc>
<para>
The <classname>GtkVBox</classname> container is designed to organize child widgets
along
- a single column, by allocating the same width to all children. This overrides any child
+ a single column, allocating the same width to all children. This overrides any child
requisition size, and child widgets that take up less than the allocated width are vertically
centered by default.
</para>
@@ -45,7 +45,7 @@
</para>
<para>
The parameter <parameter>homogeneous</parameter> is a boolean value which defines
whether all
- child widgets in the box should be assigned the height of the largest widget. The default
+ child widgets in the box should be assigned the height of the tallest widget. The default
behaviour (false) is to maintain the individual height of the widgets unchanged.
The second parameter, <parameter>spacing</parameter>, defines the minimum number
of pixels to
be left between widgets.