[gnome-devel-docs] tutorials python: grid.py.page did not validate, bug solved



commit 613933ee7a65a72bc9080f8e382550aeff97152b
Author: Marta Maria Casetti <mmcasetti gmail com>
Date:   Sun Feb 24 11:11:57 2013 +0100

    tutorials python: grid.py.page did not validate, bug solved

 platform-demos/C/grid.py.page |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/platform-demos/C/grid.py.page b/platform-demos/C/grid.py.page
index 7463e14..48fe463 100644
--- a/platform-demos/C/grid.py.page
+++ b/platform-demos/C/grid.py.page
@@ -43,7 +43,7 @@
       <item><p>To attach a widget <code>child</code> in position <code>left, top</code> in a slot of given 
<code>width, height</code> use <code>attach(child, top, left, width, height)</code>. If a widget 
<code>sibling</code> is already in place, we can also use <code>attach_next_to(child, sibling, side, width, 
height)</code>, where <code>side</code> is one of <code>Gtk.PositionType.LEFT, Gtk.PositionType.RIGHT, 
Gtk.PositionType.TOP, Gtk.PositionType.BOTTOM</code>.</p></item>
       <item><p><code>insert_row(position)</code> and <code>insert_column(position)</code> do exactly what 
they say; children which are attached at or below this position are moved one row down, and children which 
span across this position are grown to span the new row. <code>insert_next_to(sibling, side)</code> inserts a 
row or column at the specified position. The new row or column is placed next to <code>sibling</code>, on the 
side determined by <code>side</code>; if side is <code>Gtk.PositionType.TOP</code> or 
<code>Gtk.PositionType.BOTTOM</code>, a row is inserted, if side is <code>Gtk.PositionType.LEFT</code> or 
<code>Gtk.PositionType.RIGHT</code>, a column is inserted.</p></item>
       <item><p><code>set_row_homogeneous(True)</code> and <code>set_column_homogeneous(True)</code> ensure 
that (respectively) every row or every column has the same width or height.</p></item>
-      <item><p><code>set_row_spacing(spacing)</code> and <code>set_column_spacing(spacing)</code> force a 
spacing between (respectively) rows or columns. The value of <code>spacing</code> can be between 
<code>0</code>, which is the default value, and <code>32767</code></p></item>.
+      <item><p><code>set_row_spacing(spacing)</code> and <code>set_column_spacing(spacing)</code> force a 
spacing between (respectively) rows or columns. The value of <code>spacing</code> can be between 
<code>0</code>, which is the default value, and <code>32767</code>.</p></item>
     </list>
 
   </section>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]