[pygtk] reference: pygtk-gtkstatusbar.xml: add missing methods



commit ee1cfa7c446fbdca40f07d77ae348641da535a07
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date:   Tue Mar 8 17:52:55 2011 +0100

    reference: pygtk-gtkstatusbar.xml: add missing methods

 docs/reference/pygtk-gtkstatusbar.xml |   54 +++++++++++++++++++++++++++++++++
 1 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/docs/reference/pygtk-gtkstatusbar.xml b/docs/reference/pygtk-gtkstatusbar.xml
index d1e63e0..e778fb6 100644
--- a/docs/reference/pygtk-gtkstatusbar.xml
+++ b/docs/reference/pygtk-gtkstatusbar.xml
@@ -61,6 +61,10 @@ linkend="method-gtkstatusbar--remove">remove</link></methodname>
 		       role="keyword">message_id</parameter></methodparam>
       </methodsynopsis>
       <methodsynopsis language="python">
+        <methodname><link linkend="method-gtkstatusbar--remove-all">remove_all</link></methodname>
+        <methodparam><parameter role="keyword">context_id</parameter></methodparam>
+      </methodsynopsis>
+      <methodsynopsis language="python">
 	<methodname><link
 linkend="method-gtkstatusbar--set-has-resize-grip">set_has_resize_grip</link></methodname>
 	<methodparam><parameter
@@ -70,6 +74,10 @@ linkend="method-gtkstatusbar--set-has-resize-grip">set_has_resize_grip</link></m
 	<methodname><link
 linkend="method-gtkstatusbar--get-has-resize-grip">get_has_resize_grip</link></methodname>
 	<methodparam></methodparam>  </methodsynopsis>
+      <methodsynopsis language="python">
+        <methodname><link linkend="method-gtkstatusbar--get-message-area">get_message_area</link></methodname>
+        <methodparam></methodparam>
+      </methodsynopsis>
     </classsynopsis>
 
   </refsect1>
@@ -391,6 +399,29 @@ with the specified <parameter>message_id</parameter> and
         directly.</para>
     </refsect2>
 
+    <refsect2 id="method-gtkstatusbar--remove-all">
+      <title>gtk.StatusBar.remove_all</title>
+
+      <programlisting><methodsynopsis language="python">
+        <methodname>remove_all</methodname>
+        <methodparam><parameter role="keyword">context_id</parameter></methodparam>
+      </methodsynopsis></programlisting>
+      <variablelist>
+        <varlistentry>
+          <term><parameter role="keyword">context_id</parameter>&nbsp;:</term>
+          <listitem><simpara>a context identifier.</simpara></listitem>
+        </varlistentry>
+      </variablelist>
+
+      <note>
+        <para>This method is available in PyGTK 2.22 and above.</para>
+      </note>
+
+      <para>The <methodname>remove_all</methodname>() method forces the removal of all messages
+      from a statusbar's stack with the exact <parameter>context_id</parameter>.</para>
+
+    </refsect2>
+
     <refsect2 id="method-gtkstatusbar--set-has-resize-grip">
       <title>gtk.Statusbar.set_has_resize_grip</title>
 
@@ -434,6 +465,29 @@ if a resize grip is displayed on the statusbar.</para>
 
     </refsect2>
 
+    <refsect2 id="method-gtkstatusbar--get-message-area">
+      <title>gtk.StatusBar.get_message_area</title>
+
+      <programlisting><methodsynopsis language="python">
+        <methodname>get_message_area</methodname>
+        <methodparam></methodparam>
+      </methodsynopsis></programlisting>
+      <variablelist>
+        <varlistentry>
+          <term><emphasis>Returns</emphasis>&nbsp;:</term>
+          <listitem><simpara>a <link linkend="class-gtkbox"><classname>gtk.Box</classname></link>.</simpara></listitem>
+        </varlistentry>
+      </variablelist>
+
+      <note>
+        <para>This method is available in PyGTK 2.20 and above.</para>
+      </note>
+
+      <para>The <methodname>get_message_area</methodname>() method retrieves
+      the box containing the label widget.</para>
+
+    </refsect2>
+
   </refsect1>
 
   <refsect1>



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