[pygtk-docs] Reword description of ListStore.reorder() method.



commit cc304bc0c0df85a01e3e9a803ae45164e621aaaa
Author: John Finlay <finlay moeraki com>
Date:   Mon Jul 20 02:09:19 2009 -0700

    Reword description of ListStore.reorder() method.

 tut/TreeModel.xml |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/tut/TreeModel.xml b/tut/TreeModel.xml
index d4bf910..1190eef 100644
--- a/tut/TreeModel.xml
+++ b/tut/TreeModel.xml
@@ -645,11 +645,10 @@ the row at the beginning of the store while
 </programlisting>
 
       <para>where <parameter>new_order</parameter> is a list of integers
-that specify the new row order as:</para>
-
-      <programlisting>
-  <parameter>new_order</parameter>[newpos] = oldpos
-</programlisting>
+      that specify the new row order. The child nodes will be rearranged so
+      that the <parameter>liststore</parameter> node that is at position
+      index <parameter>new_order</parameter><literal>[i]</literal> will be
+      located at position index <literal>i</literal>.</para>
 
       <para>For example, if <parameter>liststore</parameter> contained
 four rows:</para>



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