diff options
author | Gian Mario Tagliaretti <gianmt@src.gnome.org> | 2008-09-21 23:33:16 +0000 |
---|---|---|
committer | Gian Mario Tagliaretti <gianmt@src.gnome.org> | 2008-09-21 23:33:16 +0000 |
commit | f56c72cac8ce793c02d9173096b0d8bfcc05b504 (patch) | |
tree | 8ca7850c1692908deb36b4fcb692463898a2c92e /docs/reference/pygtk-pangolayout.xml | |
parent | a74038f58dcdc71d234e5e52cd236870e2b1efcd (diff) | |
download | pygtk-f56c72cac8ce793c02d9173096b0d8bfcc05b504.tar.gz |
add docs for pango.Layout.get_font_description() fix #541510
svn path=/trunk/; revision=3045
Diffstat (limited to 'docs/reference/pygtk-pangolayout.xml')
-rw-r--r-- | docs/reference/pygtk-pangolayout.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/reference/pygtk-pangolayout.xml b/docs/reference/pygtk-pangolayout.xml index 11e01d07..f0f08348 100644 --- a/docs/reference/pygtk-pangolayout.xml +++ b/docs/reference/pygtk-pangolayout.xml @@ -65,6 +65,11 @@ linkend="method-pangolayout--set-markup-with-accel">set_markup_with_accel</link> </methodsynopsis> <methodsynopsis language="python"> <methodname><link +linkend="method-pangolayout--get-font-description">get_font_description</link></methodname> + <methodparam></methodparam> + </methodsynopsis> + <methodsynopsis language="python"> + <methodname><link linkend="method-pangolayout--set-font-description">set_font_description</link></methodname> <methodparam><parameter role="keyword">desc</parameter></methodparam> @@ -476,6 +481,25 @@ character will be returned in <parameter>accel_char</parameter>. A literal using two <parameter>accel_marker</parameter> characters together.</para> </refsect2> + + <refsect2 id="method-pangolayout--get-font-description"> + <title>pango.Layout.get_font_description</title> + + <programlisting><methodsynopsis language="python"> + <methodname>get_font_description</methodname> + <methodparam></methodparam> </methodsynopsis></programlisting> + <variablelist> + <varlistentry> + <term><emphasis>Returns</emphasis> :</term> + <listitem><simpara>the layout's font description, or <literal>None</literal> + if the font description from the layout's context is inherited.</simpara></listitem> + </varlistentry> + </variablelist> + + <para>The <methodname>get_font_description</methodname>() method returns + the font description for the layout, if any</para> + + </refsect2> <refsect2 id="method-pangolayout--set-font-description"> <title>pango.Layout.set_font_description</title> |