[pygtk] reference: pygtk-gtkcellview: mark deprecated methods



commit 02a24ec53a579cd3d5a00a1d5f8e02f0b1b6213c
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date:   Mon Feb 21 09:56:16 2011 +0100

    reference: pygtk-gtkcellview: mark deprecated methods

 docs/reference/pygtk-gtkcellview.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/docs/reference/pygtk-gtkcellview.xml b/docs/reference/pygtk-gtkcellview.xml
index 588751b..7b634a9 100644
--- a/docs/reference/pygtk-gtkcellview.xml
+++ b/docs/reference/pygtk-gtkcellview.xml
@@ -391,6 +391,12 @@ objects of the cell view.</simpara></listitem>
         <para>This method is available in PyGTK 2.6 and above.</para>
       </note>
 
+      <warning>
+        <para>This method is deprecated since PyGTK 2.18 and should not be used in newly-written code.
+        Use "<link linkend="method-gtkcelllayout--get-cells">gtk.CellLayout.get_cells</link>()"
+        instead.</para>
+      </warning>
+
       <para>The <methodname>get_cell_renderers</methodname>() method returns
 a list containing the <link
 linkend="class-gtkcellrenderer"><classname>gtk.CellRenderer</classname></link>



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