[pygtk] Update docs for class gtk.CellView
- From: Gian Mario Tagliaretti <gianmt src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pygtk] Update docs for class gtk.CellView
- Date: Thu, 13 Aug 2009 15:28:13 +0000 (UTC)
commit 8a17bc206ec0dafaa78af429489be94725cbace8
Author: Gian Mario Tagliaretti <gianmt gnome org>
Date: Thu Aug 13 17:27:40 2009 +0200
Update docs for class gtk.CellView
docs/reference/pygtk-gtkcellview.xml | 45 ++++++++++++++++++++++++++++-----
1 files changed, 38 insertions(+), 7 deletions(-)
---
diff --git a/docs/reference/pygtk-gtkcellview.xml b/docs/reference/pygtk-gtkcellview.xml
index abf5c81..588751b 100644
--- a/docs/reference/pygtk-gtkcellview.xml
+++ b/docs/reference/pygtk-gtkcellview.xml
@@ -23,15 +23,15 @@ linkend="constructor-gtkcellview">gtk.CellView</link></methodname>
<methodparam></methodparam>
</constructorsynopsis>
<methodsynopsis language="python">
- <methodname><link linkend="method-gtkcellview--set-model">set_model</link></methodname>
- <methodparam><parameter role="keyword">model</parameter></methodparam>
+ <methodname><link linkend="method-gtkcellview--get-cell-renderers">get_cell_renderers</link></methodname>
+ <methodparam></methodparam>
</methodsynopsis>
<methodsynopsis language="python">
- <methodname><link linkend="method-gtkcellview--set-displayed-row">set_displayed_row</link></methodname>
- <methodparam><parameter role="keyword">path</parameter></methodparam>
+ <methodname><link linkend="method-gtkcellview--get-displayed-row">get_displayed_row</link></methodname>
+ <methodparam></methodparam>
</methodsynopsis>
<methodsynopsis language="python">
- <methodname><link linkend="method-gtkcellview--get-displayed-row">get_displayed_row</link></methodname>
+ <methodname><link linkend="method-gtkcellview--get-model">get_model</link></methodname>
<methodparam></methodparam>
</methodsynopsis>
<methodsynopsis language="python">
@@ -44,8 +44,12 @@ linkend="constructor-gtkcellview">gtk.CellView</link></methodname>
<methodparam><parameter role="keyword">color</parameter></methodparam>
</methodsynopsis>
<methodsynopsis language="python">
- <methodname><link linkend="method-gtkcellview--get-cell-renderers">get_cell_renderers</link></methodname>
- <methodparam></methodparam>
+ <methodname><link linkend="method-gtkcellview--set-displayed-row">set_displayed_row</link></methodname>
+ <methodparam><parameter role="keyword">path</parameter></methodparam>
+ </methodsynopsis>
+<methodsynopsis language="python">
+ <methodname><link linkend="method-gtkcellview--set-model">set_model</link></methodname>
+ <methodparam><parameter role="keyword">model</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
@@ -198,6 +202,33 @@ widget.</para>
<refsect1>
<title>Methods</title>
+ <refsect2 id="method-gtkcellview--get-model">
+ <title>gtk.CellView.get_displayed_row</title>
+
+ <programlisting><methodsynopsis language="python">
+ <methodname>get_model</methodname>
+ <methodparam></methodparam>
+ </methodsynopsis></programlisting>
+ <variablelist>
+ <varlistentry>
+ <term><emphasis>Returns</emphasis> :</term>
+ <listitem><simpara>a <link linkend="class-gtktreemodel"><classname>gtk.TreeModel</classname></link>
+ used or <literal>None</literal>.
+ </simpara></listitem>
+ </varlistentry>
+ </variablelist>
+
+ <note>
+ <para>This method is available in PyGTK 2.16 and above.</para>
+ </note>
+
+ <para>
+ The <methodname>get_model</methodname>() method returns the model for cell_view.
+ If no model is used <literal>None</literal> is returned.
+ </para>
+
+ </refsect2>
+
<refsect2 id="method-gtkcellview--set-model">
<title>gtk.CellView.set_model</title>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]