summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGian Mario Tagliaretti <gianmt@src.gnome.org>2007-07-27 09:20:58 +0000
committerGian Mario Tagliaretti <gianmt@src.gnome.org>2007-07-27 09:20:58 +0000
commit9d5e4a742039fa36184bf404cf06ef4721eb5c60 (patch)
tree9155c0d606d9a1f3419bfda6878ab91de0acded6
parentb40aa87208d4899b07e23f327a3786bd8c766124 (diff)
downloadpygtk-9d5e4a742039fa36184bf404cf06ef4721eb5c60.tar.gz
update gtk.CellLayout docs with 2.12 API
svn path=/trunk/; revision=2863
-rw-r--r--docs/reference/ChangeLog4
-rw-r--r--docs/reference/pygtk-gtkcelllayout.xml25
2 files changed, 29 insertions, 0 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog
index 49f5ded1..9cd0b4b6 100644
--- a/docs/reference/ChangeLog
+++ b/docs/reference/ChangeLog
@@ -1,5 +1,9 @@
2007-07-25 Gian Mario Tagliaretti <gianmt@gnome.org>
+ * pygtk-gtkcelllayout.xml: Update with 2.12 API.
+
+2007-07-25 Gian Mario Tagliaretti <gianmt@gnome.org>
+
* pygtk-gtkaction.xml: Update with 2.12 API.
2007-07-25 Gian Mario Tagliaretti <gianmt@gnome.org>
diff --git a/docs/reference/pygtk-gtkcelllayout.xml b/docs/reference/pygtk-gtkcelllayout.xml
index 44ef82aa..7b1bc1b7 100644
--- a/docs/reference/pygtk-gtkcelllayout.xml
+++ b/docs/reference/pygtk-gtkcelllayout.xml
@@ -27,6 +27,9 @@
<methodname><link linkend="method-gtkcelllayout--clear">clear</link></methodname>
<methodparam></methodparam> </methodsynopsis>
<methodsynopsis language="python">
+ <methodname><link linkend="method-gtkcelllayout--get-cells">get_cells</link></methodname>
+ <methodparam></methodparam> </methodsynopsis>
+ <methodsynopsis language="python">
<methodname><link linkend="method-gtkcelllayout--set-attributes">set_attributes</link></methodname>
<methodparam><parameter>cell</parameter></methodparam>
<methodparam><parameter>...</parameter></methodparam>
@@ -172,6 +175,28 @@ attribute mappings on all cell renderers in the cell layout.</para>
</refsect2>
+ <refsect2 id="method-gtkcelllayout--get-cells">
+ <title>gtk.CellLayout.get_cells</title>
+
+ <programlisting><methodsynopsis language="python">
+ <methodname>get_cells</methodname>
+ <methodparam></methodparam> </methodsynopsis></programlisting>
+ <variablelist>
+ <varlistentry>
+ <term><emphasis>Returns</emphasis>&nbsp;:</term>
+ <listitem><simpara>A list of cell renderers.</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+
+ <note>
+ <para>This method is available in PyGTK 2.12 and above.</para>
+ </note>
+
+ <para>The <methodname>get_cells</methodname>() method returns the cell
+ renderers which have been added to cell_layout.</para>
+
+ </refsect2>
+
<refsect2 id="method-gtkcelllayout--set-attributes">
<title>gtk.CellLayout.set_attributes</title>