[pygtk] reference: pygtk-gtkexpander.xml: add missing label-fill methods and property
- From: Dieter Verfaillie <dieterv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygtk] reference: pygtk-gtkexpander.xml: add missing label-fill methods and property
- Date: Thu, 10 Mar 2011 21:16:49 +0000 (UTC)
commit 0a5e95b775ccfb0fe1be323a4e63bc5e0b215346
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date: Mon Feb 28 10:40:06 2011 +0100
reference: pygtk-gtkexpander.xml: add missing label-fill methods and property
docs/reference/pygtk-gtkexpander.xml | 58 ++++++++++++++++++++++++++++++++++
1 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/docs/reference/pygtk-gtkexpander.xml b/docs/reference/pygtk-gtkexpander.xml
index 4631c10..02a3369 100644
--- a/docs/reference/pygtk-gtkexpander.xml
+++ b/docs/reference/pygtk-gtkexpander.xml
@@ -65,6 +65,14 @@
<methodname><link linkend="method-gtkexpander--get-label-widget">get_label_widget</link></methodname>
<methodparam></methodparam>
</methodsynopsis>
+ <methodsynopsis language="python">
+ <methodname><link linkend="method-gtkexpander--set-label-fill">set_label_fill</link></methodname>
+ <methodparam></methodparam>
+ </methodsynopsis>
+ <methodsynopsis language="python">
+ <methodname><link linkend="method-gtkexpander--get-label-fill">get_label_fill</link></methodname>
+ <methodparam></methodparam>
+ </methodsynopsis>
</classsynopsis>
<programlisting>
@@ -127,6 +135,12 @@ opened to reveal the child widget.</entry>
</row>
<row valign="top">
+ <entry>"label-fill"</entry>
+ <entry>Read-Write</entry>
+ <entry>Whether the label widget should fill all available horizontal space.</entry>
+ </row>
+
+ <row valign="top">
<entry>"label-widget"</entry>
<entry>Read-Write</entry>
<entry>A widget to display in place of the usual expander
@@ -668,6 +682,50 @@ activates the button. If <parameter>label</parameter> is
</refsect2>
+ <refsect2 id="method-gtkexpander--set-label-fill">
+ <title>gtk.Expander.set_label_fill</title>
+
+ <programlisting><methodsynopsis language="python">
+ <methodname>set_label_fill</methodname>
+ <methodparam><parameter role="keyword">label_fill</parameter></methodparam>
+ </methodsynopsis></programlisting>
+ <variablelist>
+ <varlistentry>
+ <term><parameter role="keyword">label_fill</parameter> :</term>
+ <listitem><simpara><literal>True</literal> if the label should should fill all available horizontal space, <literal>False</literal> otherwise.</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+
+ <note>
+ <para>This method is available in PyGTK 2.22 and above.</para>
+ </note>
+
+ <para>The <methodname>set_label_fill</methodname>() method sets whether the label widget should fill all available horizontal space allocated to expander.</para>
+
+ </refsect2>
+
+ <refsect2 id="method-gtkexpander--get-label-fill">
+ <title>gtk.Expander.get_label_fill</title>
+
+ <programlisting><methodsynopsis language="python">
+ <methodname>get_label_fill</methodname>
+ <methodparam></methodparam>
+ </methodsynopsis></programlisting>
+ <variablelist>
+ <varlistentry>
+ <term><emphasis>Returns</emphasis> :</term>
+ <listitem><simpara><literal>True</literal> if the label widget will fill all available horizontal space, <literal>False</literal> otherwise.</simpara></listitem>
+ </varlistentry>
+ </variablelist>
+
+ <note>
+ <para>This method is available in PyGTK 2.22 and above.</para>
+ </note>
+
+ <para>The <methodname>get_length</methodname>() method returns whether the label widget will fill all available horizontal space allocated to expander.</para>
+
+ </refsect2>
+
</refsect1>
<refsect1>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]