pygtk r3050 - trunk/docs/reference



Author: gianmt
Date: Sun Nov 23 22:04:24 2008
New Revision: 3050
URL: http://svn.gnome.org/viewvc/pygtk?rev=3050&view=rev

Log:
Update docs to 2.14

Modified:
   trunk/docs/reference/ChangeLog
   trunk/docs/reference/pygtk-gtkplug.xml

Modified: trunk/docs/reference/pygtk-gtkplug.xml
==============================================================================
--- trunk/docs/reference/pygtk-gtkplug.xml	(original)
+++ trunk/docs/reference/pygtk-gtkplug.xml	Sun Nov 23 22:04:24 2008
@@ -32,7 +32,14 @@
 	<methodname><link
 linkend="method-gtkplug--get-id">get_id</link></methodname>
 	<methodparam></methodparam>  </methodsynopsis>
+      
+      <methodsynopsis language="python">
+	<methodname><link linkend="method-gtksocket--get-plug-window">get_plug_window</link></methodname>
+	<methodparam></methodparam>
+      </methodsynopsis>
     </classsynopsis>
+    
+    
 
     <programlisting>
 <emphasis role="bold">Functions</emphasis>
@@ -82,6 +89,13 @@
                     Default value: <literal>False</literal>
                     Available in GTK+ 2.12.</entry>
                 </row>
+		<row valign="top">
+		    <entry>"socket-window"</entry>
+		    <entry>Read</entry>
+		    <entry>The window of the socket the plug is embedded in.
+		    Available in GTK+ 2.14.
+		    </entry>
+		</row>
                 </tbody>
             </tgroup>
         </informaltable>
@@ -227,6 +241,28 @@
 
     </refsect2>
 
+  <refsect2 id="method-gtksocket--get-plug-window">
+      <title>gtk.Socket.get_plug_window</title>
+
+      <programlisting><methodsynopsis language="python">
+	  <methodname>get_plug_window</methodname>
+	  <methodparam></methodparam>  </methodsynopsis></programlisting>
+      <variablelist>
+	<varlistentry>
+	  <term><emphasis>Returns</emphasis>&nbsp;:</term>
+	  <listitem><simpara>the window of the plug if available, or
+	  <literal>None</literal>.</simpara></listitem>
+	</varlistentry>
+      </variablelist>
+
+      <para>
+	The <methodname>get_plug_window</methodname>() method retrieves the
+	window of the plug. Use this to check if the plug has been created
+	inside of the socket.
+      </para>
+
+    </refsect2>
+
   </refsect1>
 
   <refsect1>



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