? 2.0/pygtk2reference
? 2.0/pygtk2tutorial
? 2.0/ref/ChangeLog.xml
? 2.0/tut/ChangeLog.xml
Index: 2.0/ref/pygtk-gobject-functions.xml
===================================================================
RCS file: /cvs/gnome/pygtk-docs/2.0/ref/pygtk-gobject-functions.xml,v
retrieving revision 1.7
diff -u -p -d -r1.7 pygtk-gobject-functions.xml
--- 2.0/ref/pygtk-gobject-functions.xml	22 May 2005 23:10:01 -0000	1.7
+++ 2.0/ref/pygtk-gobject-functions.xml	11 Sep 2005 23:15:25 -0000
@@ -114,8 +114,14 @@ linkend="function-gobject--main-context-
 	<methodname><link
 linkend="function-gobject--markup-escape-text">gobject.markup_escape_text</link></methodname>
 	<methodparam><parameter role="keyword">text</parameter></methodparam>
-      </methodsynopsis></programlisting>
+      </methodsynopsis><methodsynopsis language="python">
+        <methodname><link linkend="function-gobject--child-watch-add">gobject.child_watch_add</link></methodname>
+        <methodparam><parameter role="keyword">pid</parameter></methodparam>
+        <methodparam><parameter role="keyword">function</parameter></methodparam>
+        <methodparam><parameter role="keyword">data</parameter></methodparam>
+      </methodsynopsis>
 
+    </programlisting>
   </refsect1>
 
   <refsect1>
@@ -1032,6 +1038,43 @@ line endings and attribute values.</para
 
     </refsect2>
 
+
+    <refsect2 id="function-gobject--child-watch-add">
+      <title>gobject.child_watch_add</title>
+      
+      <programlisting><methodsynopsis language="python">
+        <methodname>gobject.child_watch_add</methodname>
+        <methodparam><parameter>pid</parameter></methodparam>
+        <methodparam><parameter>function</parameter></methodparam>
+        <methodparam><parameter>data</parameter></methodparam>
+	</methodsynopsis></programlisting>
+      <variablelist role="params">
+        <varlistentry><term><parameter>pid</parameter>&nbsp;:</term>
+          <listitem><simpara>process id of a child process to watch</simpara></listitem>
+        </varlistentry>
+        <varlistentry><term><parameter>function</parameter>&nbsp;:</term>
+          <listitem><simpara> function to call
+            </simpara></listitem></varlistentry>
+        <varlistentry><term><parameter>data</parameter>&nbsp;:</term>
+          <listitem><simpara> optional data to pass to <parameter>function</parameter>
+            </simpara></listitem></varlistentry>
+        <varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the id of event source.
+          </simpara></listitem></varlistentry>
+
+      </variablelist>
+      <note>
+        <para>This function is available in PyGTK 2.6 and above.</para>
+      </note>
+
+      <para>
+        Sets a function to be called when the child indicated by
+        <parameter>pid</parameter> exits.  The signature for the
+        callback is <literal>callback(pid, condition, data)</literal>.
+      </para>
+      <para>
+        PyGTK supports only a single callback per process id.
+      </para>
+    </refsect2>
   </refsect1>
 
 </refentry>
