summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/reference/ChangeLog1
-rw-r--r--docs/reference/pygtk-gtktreemodel.xml17
2 files changed, 13 insertions, 5 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog
index 738900fe..9204f04b 100644
--- a/docs/reference/ChangeLog
+++ b/docs/reference/ChangeLog
@@ -8,6 +8,7 @@
* pygtk-gtktreemodel.xml (get) Add description of this PyGTK 2.4
method.
+ (get) Add column param to description.
2004-05-06 John Finlay <finlay@moeraki.com>
diff --git a/docs/reference/pygtk-gtktreemodel.xml b/docs/reference/pygtk-gtktreemodel.xml
index 82d7644a..4c3017a7 100644
--- a/docs/reference/pygtk-gtktreemodel.xml
+++ b/docs/reference/pygtk-gtktreemodel.xml
@@ -120,8 +120,9 @@ linkend="method-gtktreemodel--unref-node">unref_node</link></methodname>
</methodsynopsis>
<methodsynopsis language="python">
<methodname><link
-linkend="method-gtktreemodel--get-value">get</link></methodname>
+linkend="method-gtktreemodel--get">get</link></methodname>
<methodparam><parameter>iter</parameter></methodparam>
+ <methodparam><parameter>column</parameter></methodparam>
<methodparam><parameter>...</parameter></methodparam>
</methodsynopsis>
<methodsynopsis language="python">
@@ -892,6 +893,7 @@ method. Please note that nodes that are deleted are not unreffed.</para>
<programlisting><methodsynopsis language="python">
<methodname>get</methodname>
<methodparam><parameter>iter</parameter></methodparam>
+ <methodparam><parameter>column</parameter></methodparam>
<methodparam><parameter>...</parameter></methodparam>
</methodsynopsis></programlisting>
<variablelist>
@@ -903,8 +905,12 @@ method. Please note that nodes that are deleted are not unreffed.</para>
from</parameter></simpara></listitem>
</varlistentry>
<varlistentry>
+ <term><parameter>column</parameter>&nbsp;:</term>
+ <listitem><simpara>a column number</simpara></listitem>
+ </varlistentry>
+ <varlistentry>
<term><parameter>...</parameter>&nbsp;:</term>
- <listitem><simpara>one or more column numbers</simpara></listitem>
+ <listitem><simpara>zero or more column numbers</simpara></listitem>
</varlistentry>
<varlistentry>
<term><emphasis>Returns</emphasis>&nbsp;:</term>
@@ -920,9 +926,10 @@ method. Please note that nodes that are deleted are not unreffed.</para>
<para>The <methodname>get</methodname>() method returns a tuple
containing the values of one or more cells in the row referenced by the
<link linkend="class-gtktreeiter"><classname>gtk.TreeIter</classname></link>
-specified by <parameter>iter</parameter>. The additional arguments should
-contain integer column numbers. For example, to get values from columns 0
-and 3, you would write:</para>
+specified by <parameter>iter</parameter>. column specifies the first column
+number to retrieve a value from. The additional arguments should contain
+integer column numbers for addtional column values. For example, to get
+values from columns 0 and 3, you would write:</para>
<programlisting>
value0, value3 = treemodel_get(iter, 0, 3)