[pygtk] reference: pygtk-gtkbutton.xml: add get_event_window() method



commit 4df9f3cd646057511e73a0667957749b14cc32ba
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date:   Sat Feb 19 16:02:02 2011 +0100

    reference: pygtk-gtkbutton.xml: add get_event_window() method

 docs/reference/pygtk-gtkbutton.xml |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
---
diff --git a/docs/reference/pygtk-gtkbutton.xml b/docs/reference/pygtk-gtkbutton.xml
index d255aa5..5584819 100644
--- a/docs/reference/pygtk-gtkbutton.xml
+++ b/docs/reference/pygtk-gtkbutton.xml
@@ -106,6 +106,10 @@ clicked.</refpurpose>
         <methodname><link linkend="method-gtkbutton--get-image-position">get_image_position</link></methodname>
         <methodparam></methodparam>
       </methodsynopsis>
+      <methodsynopsis language="python">
+        <methodname><link linkend="method-gtkbutton--get-event-window">get_event_window</link></methodname>
+        <methodparam></methodparam>
+      </methodsynopsis>
     </classsynopsis>
 
   </refsect1>
@@ -1031,6 +1035,30 @@ method for more information.</para>
 
     </refsect2>
 
+    <refsect2 id="method-gtkbutton--get-event-window">
+      <title>gtk.Button.get_event_window</title>
+
+      <programlisting><methodsynopsis language="python">
+        <methodname>get_event_window</methodname>
+        <methodparam></methodparam>
+      </methodsynopsis></programlisting>
+
+      <variablelist>
+        <varlistentry>
+          <term><emphasis>Returns</emphasis>&nbsp;:</term>
+          <listitem><simpara>the button's event window if it is realized, <literal>None</literal> otherwise.</simpara></listitem>
+        </varlistentry>
+      </variablelist>
+
+      <note>
+        <para>This method is available in PyGTK 2.22 and above.</para>
+      </note>
+
+      <para>The <methodname>get_event_window</methodname>() method returns the
+      the button's event window if it is realized, <literal>None</literal> otherwise.</para>
+
+    </refsect2>
+
   </refsect1>
 
   <refsect1>



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