[pygtk] reference: pygtk-gtkfontselectiondialog.xml: add new get_font_selection method



commit 2742482db60af49d9b1eace51ae6c1edf451e6e8
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date:   Mon Feb 28 16:55:01 2011 +0100

    reference: pygtk-gtkfontselectiondialog.xml: add new get_font_selection method

 docs/reference/pygtk-gtkfontselectiondialog.xml |   28 +++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
---
diff --git a/docs/reference/pygtk-gtkfontselectiondialog.xml b/docs/reference/pygtk-gtkfontselectiondialog.xml
index 8813b02..5ad15c4 100644
--- a/docs/reference/pygtk-gtkfontselectiondialog.xml
+++ b/docs/reference/pygtk-gtkfontselectiondialog.xml
@@ -22,6 +22,10 @@ linkend="constructor-gtkfontselectiondialog">gtk.FontSelectionDialog</link></met
 		       role="keyword">title</parameter></methodparam>
       </constructorsynopsis>
       <methodsynopsis language="python">
+        <methodname><link linkend="method-gtkfontselectiondialog--get-font-selection">get_font_selection</link></methodname>
+        <methodparam></methodparam>
+      </methodsynopsis>
+      <methodsynopsis language="python">
 	<methodname><link
 linkend="method-gtkfontselectiondialog--get-font-name">get_font_name</link></methodname>
 	<methodparam></methodparam>  </methodsynopsis>
@@ -248,6 +252,30 @@ with the title specified by <parameter>title</parameter>.</para>
   <refsect1>
     <title>Methods</title>
 
+    <refsect2 id="method-gtkfontselectiondialog--get-font-selection">
+      <title>gtk.FontSelectionDialog.get_font_selection</title>
+
+      <programlisting><methodsynopsis language="python">
+        <methodname>get_font_selection</methodname>
+        <methodparam></methodparam>
+      </methodsynopsis></programlisting>
+      <variablelist>
+        <varlistentry>
+          <term><emphasis>Returns</emphasis>&nbsp;:</term>
+          <listitem><simpara>the embedded <link linkend="class-gtkfontselection"><classname>gtk.FontSelection</classname></link>.</simpara></listitem>
+        </varlistentry>
+      </variablelist>
+
+      <note>
+        <para>This method is available in PyGTK 2.22 and above.</para>
+      </note>
+
+      <para>The <methodname>get_font_selection</methodname>() method retrieves the
+      <link linkend="class-gtkfontselection"><classname>gtk.FontSelection</classname></link>
+      widget embedded in the dialog. </para>
+
+    </refsect2>
+
     <refsect2 id="method-gtkfontselectiondialog--get-font-name">
       <title>gtk.FontSelectionDialog.get_font_name</title>
 



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