[gnome-devel-docs] tutorial python: grid - xml corrected



commit eeb97844c88151be34b5705bad86e54db6121209
Author: Marta Maria Casetti <mmcasetti gmail com>
Date:   Thu Aug 2 03:54:46 2012 +0100

    tutorial python: grid - xml corrected

 platform-demos/C/grid.py.page |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/platform-demos/C/grid.py.page b/platform-demos/C/grid.py.page
index 518fe6c..b6d5e88 100644
--- a/platform-demos/C/grid.py.page
+++ b/platform-demos/C/grid.py.page
@@ -39,7 +39,7 @@
     <title>Useful methods for a Grid widget</title>
 
     <list>
-      <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</p>.</item>
+      <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> of <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>
@@ -47,15 +47,15 @@
 
   </section>
 
-  <section id="methods">
+  <section id="references">
     <title>API References</title>
     <p>In this sample we used the following:</p>
     <list>
-      <item><p><link href="http://developer.gnome.org/gtk3/unstable/GtkApplication.html";>Gtk.Application</link></p></item>
-      <item><p><link href="http://developer.gnome.org/gtk3/unstable/GtkApplicationWindow.html";>Gtk.ApplicationWindow</link></p></item>
-      <item><p><link href="http://developer.gnome.org/gtk3/unstable/GtkLabel.html";>Gtk.Label</link></p></item>
-      <item><p><link href="http://developer.gnome.org/gtk3/unstable/GtkImage.html";>Gtk.Image</link></p></item>
-      <item><p><link href="http://developer.gnome.org/gtk3/unstable/GtkGrid.html";>Gtk.Grid</link></p></item>
+      <item><p><link href="http://developer.gnome.org/gtk3/unstable/GtkApplication.html";>GtkApplication</link></p></item>
+      <item><p><link href="http://developer.gnome.org/gtk3/unstable/GtkApplicationWindow.html";>GtkApplicationWindow</link></p></item>
+      <item><p><link href="http://developer.gnome.org/gtk3/unstable/GtkLabel.html";>GtkLabel</link></p></item>
+      <item><p><link href="http://developer.gnome.org/gtk3/unstable/GtkImage.html";>GtkImage</link></p></item>
+      <item><p><link href="http://developer.gnome.org/gtk3/unstable/GtkGrid.html";>GtkGrid</link></p></item>
     </list>
   </section>
 </page>



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